summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-09-24 16:13:28 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-09-24 16:13:28 (GMT)
commit4514c5e61969f4187706545cb769981d6adae15e (patch)
tree582ac5b84bb4481611346c5c2dc0f9611d63745e /src/main.c
parent5a824850b3c719b4e376b47e5f93c9ff7ccb251d (diff)
downloadpowder-4514c5e61969f4187706545cb769981d6adae15e.zip
powder-4514c5e61969f4187706545cb769981d6adae15e.tar.gz
Make changes to prefs file regarding build_num and updated
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a67836b..4abf2ef 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2657,7 +2657,7 @@ int main(int argc, char *argv[])
if (update_flag)
{
info_box(vid_buf, "Finalizing update...");
- if (last_major>SAVE_VERSION || (last_major==SAVE_VERSION && last_minor>=MINOR_VERSION) || last_build>BUILD_NUM)
+ if (last_build>BUILD_NUM)
{
update_cleanup();
error_ui(vid_buf, 0, "Update failed - try downloading a new version.");