src/video/emscripten/SDL_emscriptenvideo.c
changeset 12576 8d61748ac590
parent 12574 109c919d61f6
child 12577 32d2fe2bc966
equal deleted inserted replaced
12575:62f907f026bb 12576:8d61748ac590
   342 
   342 
   343 static void
   343 static void
   344 Emscripten_SetWindowTitle(_THIS, SDL_Window * window) {
   344 Emscripten_SetWindowTitle(_THIS, SDL_Window * window) {
   345     EM_ASM_INT({
   345     EM_ASM_INT({
   346       if (typeof Module['setWindowTitle'] !== 'undefined') {
   346       if (typeof Module['setWindowTitle'] !== 'undefined') {
   347         Module['setWindowTitle'](Module['Pointer_stringify']($0));
   347         Module['setWindowTitle'](UTF8ToString($0));
   348       }
   348       }
   349       return 0;
   349       return 0;
   350     }, window->title);
   350     }, window->title);
   351 }
   351 }
   352 
   352