Skip to content
Permalink
Browse files

x11: Patched to compile.

  • Loading branch information
icculus committed Aug 13, 2017
1 parent 0a1b905 commit 18cceb5ce0d0395fb317f9fe3c0c6310a8943f60
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/video/x11/SDL_x11messagebox.c
@@ -422,15 +422,15 @@ X11_MessageBoxCreateWindow( SDL_MessageBoxDataX11 *data )
Status status = X11_XStringListToTextProperty(&title_locale, 1, &titleprop);
SDL_free(title_locale);
if (status) {
X11_XSetTextProperty(display, data->xwindow, &titleprop, XA_WM_NAME);
X11_XSetTextProperty(display, data->window, &titleprop, XA_WM_NAME);
X11_XFree(titleprop.value);
}
}

#ifdef X_HAVE_UTF8_STRING
if (SDL_X11_HAVE_UTF8) {
XTextProperty titleprop;
status = X11_Xutf8TextListToTextProperty(display, (char **) &messageboxdata->title, 1,
Status status = X11_Xutf8TextListToTextProperty(display, (char **) &messageboxdata->title, 1,
XUTF8StringStyle, &titleprop);
if (status == Success) {
X11_XSetTextProperty(display, data->window, &titleprop,

0 comments on commit 18cceb5

Please sign in to comment.