diff --git a/src/process/windows/SDL_windowsprocess.c b/src/process/windows/SDL_windowsprocess.c index 721e61a0f2..82f67430d1 100644 --- a/src/process/windows/SDL_windowsprocess.c +++ b/src/process/windows/SDL_windowsprocess.c @@ -127,7 +127,7 @@ static bool join_arguments(const char * const *args, char **args_out) break; case '\\': result[i_out++] = *a; - if (*(a + 1) == '"' || *(a + 1) == '\0') { + if (a[1] == '"' || a[1] == '\0') { result[i_out++] = *a; } break;