Actually use the releaseTypeNames array. Should fix unparsing of non-release versions, but doesn't, because the names are off by one.
1.1 --- a/Common/Source/GrowlVersionUtilities.c Thu Oct 15 21:27:48 2009 -0700
1.2 +++ b/Common/Source/GrowlVersionUtilities.c Thu Oct 15 21:27:48 2009 -0700
1.3 @@ -202,7 +202,11 @@
1.4 CFStringAppendFormat(str, /*formatOptions*/ NULL, CFSTR(".%hhu"), v.incremental);
1.5 }
1.6 if (v.releaseType != releaseType_release) {
1.7 - CFStringAppendFormat(str, /*formatOptions*/ NULL, CFSTR("%u"), v.development);
1.8 + if (v.releaseType >= numberOfReleaseTypes) {
1.9 + CFRelease(str);
1.10 + return nil;
1.11 + }
1.12 + CFStringAppendFormat(str, /*formatOptions*/ NULL, CFSTR("%@%u"), releaseTypeNames[v.releaseType], v.development);
1.13 }
1.14 return str;
1.15 }