src/video/emscripten/SDL_emscriptenvideo.c
changeset 12576 8d61748ac590
parent 12574 109c919d61f6
child 12577 32d2fe2bc966
     1.1 --- a/src/video/emscripten/SDL_emscriptenvideo.c	Tue Jan 29 12:19:00 2019 +0000
     1.2 +++ b/src/video/emscripten/SDL_emscriptenvideo.c	Tue Jan 29 12:19:03 2019 +0000
     1.3 @@ -344,7 +344,7 @@
     1.4  Emscripten_SetWindowTitle(_THIS, SDL_Window * window) {
     1.5      EM_ASM_INT({
     1.6        if (typeof Module['setWindowTitle'] !== 'undefined') {
     1.7 -        Module['setWindowTitle'](Module['Pointer_stringify']($0));
     1.8 +        Module['setWindowTitle'](UTF8ToString($0));
     1.9        }
    1.10        return 0;
    1.11      }, window->title);