]> git.saurik.com Git - cydia.git/blobdiff - exec.mm
Some last finalization on mailto:.
[cydia.git] / exec.mm
diff --git a/exec.mm b/exec.mm
index 751a84ab190f78614695aeebf29a02a12d37f952..f53d2cf2b7adc3ebe496a5487a7ac6639d0d7101 100644 (file)
--- a/exec.mm
+++ b/exec.mm
@@ -24,7 +24,7 @@ int main(int argc, char *argv[]) {
 
     if (NSDictionary *sysver = [NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"]) {
         if (NSString *prover = [sysver valueForKey:@"ProductVersion"]) {
-            Firmware_ = strdup([prover cString]);
+            Firmware_ = strdup([prover UTF8String]);
             NSArray *versions = [prover componentsSeparatedByString:@"."];
             int count = [versions count];
             Major_ = count > 0 ? [[versions objectAtIndex:0] intValue] : 0;