summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.m4
-rw-r--r--macosx/HBOutputRedirect.m2
2 files changed, 3 insertions, 3 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 898bcfa4f..c9cd4bafe 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -1883,8 +1883,8 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
}
[fSrcTitlePopUp addItemWithTitle: [NSString
- stringWithFormat: @"%s %d - %02dh%02dm%02ds",
- title->name,title->index, title->hours, title->minutes,
+ stringWithFormat: @"%@ %d - %02dh%02dm%02ds",
+ currentSource, title->index, title->hours, title->minutes,
title->seconds]];
}
diff --git a/macosx/HBOutputRedirect.m b/macosx/HBOutputRedirect.m
index 29ae733f2..1b9a39727 100644
--- a/macosx/HBOutputRedirect.m
+++ b/macosx/HBOutputRedirect.m
@@ -182,7 +182,7 @@ int stderrwrite(void *inFD, const char *buffer, int size)
*/
- (void)forwardOutput:(NSData *)data
{
- NSString *string = [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding];
+ NSString *string = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
[listeners makeObjectsPerformSelector:forwardingSelector withObject:string];
[string release];
}