Sun, 08 Sep 2013 17:18:50 +0300
actually use the BuildType enum
src/demo.cpp | file | annotate | diff | comparison | revisions |
--- a/src/demo.cpp Sun Sep 08 17:17:13 2013 +0300 +++ b/src/demo.cpp Sun Sep 08 17:18:50 2013 +0300 @@ -220,7 +220,9 @@ } if (!isKnownVersion (zanversion)) { - UnknownVersionPrompt* prompt = new UnknownVersionPrompt (path, zanversion, (buildID == 1)); + UnknownVersionPrompt* prompt = new UnknownVersionPrompt (path, zanversion, + (buildID == ReleaseBuild)); + if (!prompt->exec()) return 6;