mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 23:18:29 +00:00
Fix bug with SDL_ShowMessageBox not working with wayland (#10810)
This commit is contained in:
@@ -83,7 +83,7 @@ static bool get_zenity_version(int *major, int *minor)
|
||||
return SDL_SetError("pipe() failed: %s", strerror(errno));
|
||||
}
|
||||
|
||||
if (run_zenity(argv, fd_pipe) == 0) {
|
||||
if (run_zenity(argv, fd_pipe)) {
|
||||
FILE *outputfp = NULL;
|
||||
char version_str[ZENITY_VERSION_LEN];
|
||||
char *version_ptr = NULL, *end_ptr = NULL;
|
||||
|
Reference in New Issue
Block a user