diff --git a/sc2/src/libs/log/msgbox_macosx.m b/sc2/src/libs/log/msgbox_macosx.m index 8d1d30646..cb4adc696 100644 --- a/sc2/src/libs/log/msgbox_macosx.m +++ b/sc2/src/libs/log/msgbox_macosx.m @@ -28,9 +28,9 @@ log_displayBox (const /*UTF-8*/char *title, int isError, return; // Oops, out of memory? if (isError) - NSRunCriticalAlertPanel (titleStr, msgStr, nil, nil, nil); + NSRunCriticalAlertPanel (titleStr, @"%@", nil, nil, nil, msgStr); else - NSRunInformationalAlertPanel (titleStr, msgStr, nil, nil, nil); + NSRunInformationalAlertPanel (titleStr, @"%@", nil, nil, nil, msgStr); // titleStr and msgStr are autoreleased }