actually use the BuildType enum

Sun, 08 Sep 2013 17:18:50 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 08 Sep 2013 17:18:50 +0300
changeset 23
3ce91eac0f24
parent 22
2fe0b7e0da7b
child 24
61e2752dd7cd

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;
 		

mercurial