mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 14:26:01 +00:00
Update src/process/windows/SDL_windowsprocess.c
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
This commit is contained in:
@@ -97,7 +97,7 @@ static bool join_arguments(const char * const *args, char **args_out)
|
|||||||
break;
|
break;
|
||||||
case '\\':
|
case '\\':
|
||||||
/* only escape backslashes that precede a double quote */
|
/* only escape backslashes that precede a double quote */
|
||||||
len += (*(a + 1) == '"' || *(a + 1) == '\0') ? 2 : 1;
|
len += (a[1] == '"' || a[1] == '\0') ? 2 : 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
len += 1;
|
len += 1;
|
||||||
|
Reference in New Issue
Block a user