Skip to content
Snippets Groups Projects
Commit 5a568d2c authored by Sean McBride's avatar Sean McBride
Browse files

Assume UTF8 for vtkCarbonRenderWindow::SetWindowName

Since VTK now uses UTF8 in other places, use it here too instead
of ASCII.  This is backwards compatible.

Change-Id: I32dc7174e1460f27c8e73e6fb6b8982f2d35d0b7
parent 6a1e3c5e
No related branches found
No related tags found
No related merge requests found
......@@ -332,7 +332,7 @@ void vtkCarbonRenderWindow::SetWindowName( const char * _arg )
{
CFStringRef newTitle =
CFStringCreateWithCString(kCFAllocatorDefault, _arg,
kCFStringEncodingASCII);
kCFStringEncodingUTF8);
SetWindowTitleWithCFString(this->RootWindow, newTitle);
CFRelease(newTitle);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment