x11: Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 13 Aug 2017 01:00:01 -0400
changeset 11260f7abcb63e51e
parent 11259 931e9d3a452e
child 11261 2d458a198021
x11: Patched to compile.
src/video/x11/SDL_x11messagebox.c
     1.1 --- a/src/video/x11/SDL_x11messagebox.c	Sun Aug 13 00:58:23 2017 -0400
     1.2 +++ b/src/video/x11/SDL_x11messagebox.c	Sun Aug 13 01:00:01 2017 -0400
     1.3 @@ -422,7 +422,7 @@
     1.4          Status status = X11_XStringListToTextProperty(&title_locale, 1, &titleprop);
     1.5          SDL_free(title_locale);
     1.6          if (status) {
     1.7 -            X11_XSetTextProperty(display, data->xwindow, &titleprop, XA_WM_NAME);
     1.8 +            X11_XSetTextProperty(display, data->window, &titleprop, XA_WM_NAME);
     1.9              X11_XFree(titleprop.value);
    1.10          }
    1.11      }
    1.12 @@ -430,7 +430,7 @@
    1.13  #ifdef X_HAVE_UTF8_STRING
    1.14      if (SDL_X11_HAVE_UTF8) {
    1.15          XTextProperty titleprop;
    1.16 -        status = X11_Xutf8TextListToTextProperty(display, (char **) &messageboxdata->title, 1,
    1.17 +        Status status = X11_Xutf8TextListToTextProperty(display, (char **) &messageboxdata->title, 1,
    1.18                                              XUTF8StringStyle, &titleprop);
    1.19          if (status == Success) {
    1.20              X11_XSetTextProperty(display, data->window, &titleprop,