Skip to content

Commit

Permalink
testmessage: Try Unicode chars in the title, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 1, 2015
1 parent 05e78b3 commit 52df7f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/testmessage.c
Expand Up @@ -126,6 +126,16 @@ main(int argc, char *argv[])
quit(1);
}

/* Google says this is Traditional Chinese for "beef with broccoli" */
success = SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
"牛肉西蘭花",
"Unicode text in the title.",
NULL);
if (success == -1) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Error Presenting MessageBox: %s\n", SDL_GetError());
quit(1);
}

button_messagebox(NULL);

/* Test showing a message box from a background thread.
Expand Down

0 comments on commit 52df7f5

Please sign in to comment.