mirror of
https://github.com/ScrelliCopter/tmx2gba.git
synced 2025-02-21 03:29:25 +11:00
apparently optind needs to be reset manually? what even is getopt
This commit is contained in:
@@ -85,6 +85,7 @@ void GetoptClear ()
|
|||||||
next = nullptr;
|
next = nullptr;
|
||||||
#else
|
#else
|
||||||
optreset = 1;
|
optreset = 1;
|
||||||
|
optind = 1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user