1
0
Fork 0
mirror of https://github.com/Lime3DS/Lime3DS synced 2025-01-09 13:43:27 +00:00

lime_sdl: Fixed -a and -d short options being considered invalid ( 2/2)

This is a purely cosmetic issue which caused a warning to appear in stdout
This commit is contained in:
OpenSauce04 2024-10-28 18:30:28 +00:00
parent 563089d792
commit da2912e75f

View file

@ -220,7 +220,7 @@ void LaunchSdlFrontend(int argc, char** argv) {
}; };
while (optind < argc) { while (optind < argc) {
int arg = getopt_long(argc, argv, "fg:hi:p:r:m:nvw", long_options, &option_index); int arg = getopt_long(argc, argv, "d:fg:hi:p:r:a:m:nvw", long_options, &option_index);
if (arg != -1) { if (arg != -1) {
switch (static_cast<char>(arg)) { switch (static_cast<char>(arg)) {
case 'd': case 'd':