Fix maximium portrait height.

Fixes bug #17399, also adds some more debug information.
This commit is contained in:
Mark de Wever 2011-01-08 20:40:38 +00:00
parent e552477769
commit 8c069aef70

View file

@ -35,7 +35,7 @@
### fi
#define __GUI_MAX_HEIGHT
(screen_height - {_GUI_HEIGHT_OFFSET})
(gamemap_height - 4)
#enddef
# The maximum width of the text
@ -67,6 +67,8 @@
([[
debug_print('screen_width ', screen_width),
debug_print('screen_height ', screen_height),
debug_print('gamemap_width ', gamemap_width),
debug_print('gamemap_height ', gamemap_height),
debug_print('__GUI_MAX_HEIGHT ', {__GUI_MAX_HEIGHT}),
debug_print('BEST_WIDTH ', {BEST_WIDTH}),
debug_print('__GUI_BEST_SIZE ', {__GUI_BEST_SIZE})