From f5bbc13384308424f3b034547928fd98fa4754c4 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Sat, 25 Jun 2011 17:11:17 +0100 Subject: Fix save button diff --git a/src/interface.c b/src/interface.c index c7e325d90..7049d9f 100644 --- a/src/interface.c +++ b/src/interface.c @@ -643,7 +643,7 @@ void draw_svf_ui(pixel *vid_buf, int alternate)// all the buttons at the bottom drawrect(vid_buf, 19, YRES+(MENUSIZE-16), 16, 14, c, c, c, 255); // the save sim button - if(alternate || svf_fileopen) + if(alternate) { fillrect(vid_buf, 36, YRES+(MENUSIZE-16)-1, 152, 16, 255, 255, 255, 255); drawtext(vid_buf, 40, YRES+(MENUSIZE-14), "\x82", 0, 0, 0, 255); -- cgit v0.9.2-21-gd62e