summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-10-22 18:39:24 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-10-22 18:39:24 (GMT)
commit84522d2594848ffeb539bc9af7eee5e6e775bb39 (patch)
tree3419a59ee32c6f8a62f0810475e40139511f5565 /src/interface.c
parent9cf65de1c369e91ba9de1a9cbceab7ba9131c89d (diff)
downloadpowder-84522d2594848ffeb539bc9af7eee5e6e775bb39.zip
powder-84522d2594848ffeb539bc9af7eee5e6e775bb39.tar.gz
Fix Options meny in scale:2 and make tooltip more readable
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index 75e22ec..a41f2c2 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -2422,6 +2422,8 @@ int quickoptions_tooltip_y = 0;
void quickoptions_menu(pixel *vid_buf, int b, int bq, int x, int y)
{
int i = 0;
+ x /= sdl_scale;
+ y /= sdl_scale;
if(quickoptions_tooltip_fade && quickoptions_tooltip)
{
drawtext_outline(vid_buf, (XRES - 5) - textwidth(quickoptions_tooltip), quickoptions_tooltip_y, quickoptions_tooltip, 255, 255, 255, quickoptions_tooltip_fade*20, 0, 0, 0, quickoptions_tooltip_fade*15);