Make sure the level name does not over write the secrets count.

This commit is contained in:
Bill Currie 2010-12-08 21:59:23 +09:00
parent 9b9fde244b
commit 6e87c4cea6

View file

@ -455,7 +455,8 @@ draw_solo (view_t *view)
// draw level name
l = strlen (cl.levelname);
draw_string (view, 232 - l * 4, 12, cl.levelname);
l = 232 - l * 4;
draw_string (view, max (l, 152), 12, cl.levelname);
}
static void