Browse Source

Update src/process/windows/SDL_windowsprocess.c

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
Semphriss 7 months ago
parent
commit
82b33a7d3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/process/windows/SDL_windowsprocess.c

+ 1 - 1
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;