]> git.webhop.me Git - tuxwetter.git/commitdiff
- fix renderwidth for title text
authorsvenhoefer <svenhoefer@svenhoefer.com>
Sat, 23 Mar 2013 15:03:41 +0000 (16:03 +0100)
committersvenhoefer <svenhoefer@svenhoefer.com>
Sat, 23 Mar 2013 15:03:41 +0000 (16:03 +0100)
tuxwetter.c

index ab79efe4e64ff7d7eeff0b78fc9044cd242f85fa..89933c9f450ca0d3db74d5ad2381600182611ab4 100644 (file)
@@ -1102,7 +1102,7 @@ void ShowInfo(MENU *m)
        }
 
        // Title text
-       RenderString(m->headertxt[m->act_header], isx+45, isy+dy-soffs+3, ixw-sbw, LEFT, FSIZE_BIG, CMHT);
+       RenderString(m->headertxt[m->act_header], isx+45, isy+dy-soffs+3, ixw-sbw-45, LEFT, FSIZE_BIG, CMHT);
 
        index /= 10;
        //Show table of commands