sources/version.cpp

changeset 64
5e968dc8d552
parent 5
146825d63b9a
child 69
eb4c25284a19
--- a/sources/version.cpp	Tue Dec 16 03:59:52 2014 +0200
+++ b/sources/version.cpp	Tue Dec 16 04:06:53 2014 +0200
@@ -43,6 +43,9 @@
 FUNCTION
 full_version_string() -> const char*
 {
+#ifdef IS_RELEASE
+	return VERSION_STRING;
+#else
 	static char buffer[128] = {0};
 
 	if (buffer[0] == '\0')
@@ -54,6 +57,7 @@
 	}
 
 	return buffer;
+#endif
 }
 
 // -------------------------------------------------------------------------------------------------

mercurial