summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8d8db2a)
raw | patch | inline | side by side (parent: 8d8db2a)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 10 Apr 2020 07:29:16 +0000 (11:29 +0400) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 10 Apr 2020 07:29:16 +0000 (11:29 +0400) |
src/gl/render.c | patch | blob | history |
diff --git a/src/gl/render.c b/src/gl/render.c
index 08182864a6120b651e46f92cd4d9713677bd212c..2b5d53192a42af7ec6f697de90ac85dcace088d8 100644 (file)
--- a/src/gl/render.c
+++ b/src/gl/render.c
case GM_SMALL: x = Z_get_small_string_width("%s", m->title); break;
default: assert(0);
}
+ y = 0;
for (i = 0; i < n; i++) {
get_entry_size(m, i, &xx, &yy);
x = max(x, xx);