From 82b33a7d3f6b819a3bafae8c8a1343ede021a44b Mon Sep 17 00:00:00 2001
From: Semphriss <[EMAIL REDACTED]>
Date: Fri, 13 Sep 2024 22:44:45 -0400
Subject: [PATCH] Update src/process/windows/SDL_windowsprocess.c
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
---
src/process/windows/SDL_windowsprocess.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/process/windows/SDL_windowsprocess.c b/src/process/windows/SDL_windowsprocess.c
index 721e61a0f23c9..82f67430d16d1 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;