src/SDL_assert.c
changeset 12576 8d61748ac590
parent 12503 806492103856
child 12714 9b7633bd0aa0
equal deleted inserted replaced
12575:62f907f026bb 12576:8d61748ac590
   248         /* This is nasty, but we can't block on a custom UI. */
   248         /* This is nasty, but we can't block on a custom UI. */
   249         for ( ; ; ) {
   249         for ( ; ; ) {
   250             SDL_bool okay = SDL_TRUE;
   250             SDL_bool okay = SDL_TRUE;
   251             char *buf = (char *) EM_ASM_INT({
   251             char *buf = (char *) EM_ASM_INT({
   252                 var str =
   252                 var str =
   253                     Pointer_stringify($0) + '\n\n' +
   253                     UTF8ToString($0) + '\n\n' +
   254                     'Abort/Retry/Ignore/AlwaysIgnore? [ariA] :';
   254                     'Abort/Retry/Ignore/AlwaysIgnore? [ariA] :';
   255                 var reply = window.prompt(str, "i");
   255                 var reply = window.prompt(str, "i");
   256                 if (reply === null) {
   256                 if (reply === null) {
   257                     reply = "i";
   257                     reply = "i";
   258                 }
   258                 }