mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-10 04:25:14 +00:00
sdlprocdump: skip parsed arguments
This commit is contained in:
@@ -487,7 +487,7 @@ int main(int argc, char *argv[]) {
|
||||
DWORD creation_flags;
|
||||
BOOL log_debug_stream = FALSE;
|
||||
|
||||
for (i = 1; i < argc; i++) {
|
||||
for (i = 1; i < argc; i++, cmd_i = i + 1) {
|
||||
if (strcmp(argv[i], "--") == 0) {
|
||||
cmd_i = i + 1;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user