]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
possibly fix offset calc for infobar
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 1 Apr 2011 20:16:53 +0000 (20:16 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 1 Apr 2011 21:21:55 +0000 (23:21 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11007 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=6b98d1a508037e3776c31715fd15610dad758e1e

cl_screen.c

index 1f6538e9559e999a6af76380d1047b89a3adb896..9186a68ccc6c656905b2b2550309ad18cb3b302e 100644 (file)
@@ -613,9 +613,9 @@ static int SCR_InfobarHeight(void)
        if (cl.time > cl.oldtime)
                scr_infobartime_off -= cl.time - cl.oldtime;
        if(scr_infobartime_off > 0)
-               offset += 8;
+               offset += 1;
        if(cls.qw_downloadname[0])
-               offset += 8;
+               offset += 1;
 
        downinfo = Curl_GetDownloadInfo(&nDownloads, &addinfo);
        if(downinfo)