projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8887c1
)
fix console margin calculation
author
divverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 17 Jan 2011 15:28:26 +0000
(15:28 +0000)
committer
Rudolf Polzer <divverent@alientrap.org>
Thu, 20 Jan 2011 06:37:26 +0000
(07:37 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10705
d7cf8633
-e32d-0410-b094-
e92efae38249
::stable-branch::merge=
47dd58dd4e8e1e1f20e5a9511ccb77aabac03608
cl_screen.c
patch
|
blob
|
history
diff --git
a/cl_screen.c
b/cl_screen.c
index defedb90bd44d771a2b555ba5dd1971132d06835..5404591ecfbf37de2218abd6d00c6da555524861 100644
(file)
--- a/
cl_screen.c
+++ b/
cl_screen.c
@@
-611,16
+611,16
@@
static int SCR_InfobarHeight(void)
scr_infobartime_off -= cl.time - cl.oldtime;
if(scr_infobartime_off > 0)
offset += 8;
-
if(cls.qw_downloadname[0])
offset += 8;
downinfo = Curl_GetDownloadInfo(&nDownloads, &addinfo);
if(downinfo)
{
- offset +=
8 *
(nDownloads + (addinfo ? 1 : 0));
+ offset += (nDownloads + (addinfo ? 1 : 0));
Z_Free(downinfo);
}
+ offset *= scr_infobar_height.value;
return offset;
}