Commits

Peter Hosey committed 948b3b0

Fixed the version display in the prefpane showing the revision number for no good reason.

  • Participants
  • Parent commits cd47448
  • Branches default

Comments (0)

Files changed (1)

File Core/Source/GrowlPreferencePane.m

 	if (versionString) {
 		NSString *versionStringWithHgVersion = nil;
 		struct Version version;
-		if (parseVersionString(versionString, &version)) {
+		if (parseVersionString(versionString, &version) && (version.releaseType == releaseType_development)) {
 			const char *hgRevisionUTF8 = [[[self bundle] objectForInfoDictionaryKey:@"GrowlHgRevision"] UTF8String];
 			if (hgRevisionUTF8) {
 				version.development = (u_int32_t)strtoul(hgRevisionUTF8, /*next*/ NULL, 10);