summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFXVideo/macsrc/drawgl.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/drawgl.m')
-rw-r--r--macosx/plugins/DFXVideo/macsrc/drawgl.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/drawgl.m b/macosx/plugins/DFXVideo/macsrc/drawgl.m
index 17e76477..81f5f32e 100644
--- a/macosx/plugins/DFXVideo/macsrc/drawgl.m
+++ b/macosx/plugins/DFXVideo/macsrc/drawgl.m
@@ -116,7 +116,8 @@ unsigned long ulInitDisplay(void) // OPEN GAME WINDOW
PluginWindowController *windowController = [PluginWindowController openGameView];
glView = [windowController getOpenGLView];
- [[windowController window] setTitle:[NSString stringWithCString:pCaptionText]];
+ NSString *title = [NSString stringWithCString:pCaptionText encoding:NSUTF8StringEncoding];
+ [[windowController window] setTitle:title];
return (unsigned long)[windowController window];
}