From 4af8385a0ee0dcf8c29e322f994c66308da53c9c Mon Sep 17 00:00:00 2001 From: Jacob1 Date: Tue, 25 Oct 2011 05:04:58 +0800 Subject: [PATCH] If you cancel an update, the yellow update box stays away --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 036bdf16f..4cd654827 100644 --- a/src/main.c +++ b/src/main.c @@ -1904,7 +1904,10 @@ int main(int argc, char *argv[]) } } else + { free(tmp); + old_version = 0; + } } if (y>=sdl_scale*(YRES+(MENUSIZE-20))) //mouse checks for buttons at the bottom, to draw mouseover texts {