OSDN Git Service

In the English version, the displayed player level in the main window wasn't alighed...
authorEric Branlund <ebranlund@fastmail.com>
Sun, 15 Dec 2019 10:00:54 +0000 (02:00 -0800)
committerdeskull <deskull@users.sourceforge.jp>
Sun, 9 Feb 2020 13:36:52 +0000 (22:36 +0900)
src/view-mainwindow.c

index 6466b76..0a96e23 100644 (file)
@@ -777,7 +777,7 @@ static void print_title(player_type *creature_ptr)
 static void print_level(player_type *creature_ptr)
 {
        char tmp[32];
-       sprintf(tmp, "%5d", creature_ptr->lev);
+       sprintf(tmp, _("%5d", "%6d"), creature_ptr->lev);
        if (creature_ptr->lev >= creature_ptr->max_plv)
        {
                put_str(_("レベル ", "LEVEL "), ROW_LEVEL, 0);