Index: src/macosx/system.m =================================================================== --- src/macosx/system.m (revision 7527) +++ src/macosx/system.m (working copy) @@ -563,7 +563,8 @@ { char tmp[ALLEGRO_MESSAGE_SIZE]; - _al_sane_strncpy(osx_window_title, title, ALLEGRO_MESSAGE_SIZE); + if (osx_window_title != title) + _al_sane_strncpy(osx_window_title, title, ALLEGRO_MESSAGE_SIZE); do_uconvert(title, U_CURRENT, tmp, U_UTF8, ALLEGRO_MESSAGE_SIZE); NSString *ns_title = [NSString stringWithUTF8String: tmp];