]> granicus.if.org Git - handbrake/commitdiff
MacGui: [HBUtilities writeToActivityLog:] wants a c string, not a NSString.
authorDamiano Galassi <damiog@gmail.com>
Sun, 1 Jan 2017 14:44:35 +0000 (15:44 +0100)
committerDamiano Galassi <damiog@gmail.com>
Sun, 1 Jan 2017 14:44:35 +0000 (15:44 +0100)
macosx/HBCore.m

index 0222abeee95d09fe6a0bd6d13c123fc147e4176b..31f293448d6f0736b254a2c3fa319f61c783e233 100644 (file)
@@ -481,7 +481,7 @@ static void hb_error_handler(const char *errmsg)
     self.state = HBStateWorking;
 
     [HBUtilities writeToActivityLog:"%s started encoding %s", self.name.UTF8String, job.destURL.lastPathComponent.UTF8String];
-    [HBUtilities writeToActivityLog:"%s with preset %s", self.name.UTF8String, job.presetName];
+    [HBUtilities writeToActivityLog:"%s with preset %s", self.name.UTF8String, job.presetName.UTF8String];
 }
 
 - (HBCoreResult)workDone