summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacob1 <jfu614@gmail.com>2011-10-24 21:04:58 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-25 13:33:21 (GMT)
commit4af8385a0ee0dcf8c29e322f994c66308da53c9c (patch)
treedf283b7ab3ed2293e62743ff73d405ae93970e58 /src
parent44545d4c96309092d5980b5fcb8ed4187219cf8a (diff)
downloadpowder-4af8385a0ee0dcf8c29e322f994c66308da53c9c.zip
powder-4af8385a0ee0dcf8c29e322f994c66308da53c9c.tar.gz
If you cancel an update, the yellow update box stays away
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 036bdf1..4cd6548 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
{