]> skyeroc.xyz Git - dgamelaunch/commitdiff
Adjust the watching-menu Size-column slightly.
authorPasi Kallinen <paxed@alt.org>
Tue, 4 May 2010 14:54:07 +0000 (14:54 +0000)
committerPasi Kallinen <paxed@alt.org>
Tue, 4 May 2010 14:54:07 +0000 (14:54 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@550 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index b46be3344dd51109ede060bc7a3ac56c72b26105..b4c44f726c2add78fbdcf718f4d9126c90dbeb43 100644 (file)
@@ -624,7 +624,7 @@ inprogressmenu (int gameid)
       {0, SORTMODE_NONE,        1, "", "%s)"},
       {1, SORTMODE_USERNAME,    4, "Username", "%-15s"},
       {2, SORTMODE_GAMENUM,    21, "Game", "%-5s"},
-      {3, SORTMODE_WINDOWSIZE, 29, "Size", "%s"},
+      {3, SORTMODE_WINDOWSIZE, 28, " Size", "%s"},
       {4, SORTMODE_STARTTIME,  37, "Start date & time", "%s"},
       {5, SORTMODE_IDLETIME,   58, "Idle time", "%-10s"},
 #ifdef USE_SHMEM
@@ -673,8 +673,11 @@ inprogressmenu (int gameid)
          mvaddstr (3, 1, "The following games are in progress:");
 
          for (di = 0; di < ARRAY_SIZE(watchcols); di++) {
+             char *col = watchcols[di].colname;
+             int x = watchcols[di].x;
+             while (*col == ' ') { x++; col++; }
              if (sortmode == watchcols[di].sortmode) attron(title_attr);
-             mvprintw(top_banner_hei, watchcols[di].x, watchcols[di].colname);
+             mvprintw(top_banner_hei, x, col);
              if (sortmode == watchcols[di].sortmode) attroff(title_attr);
          }
       }