lime_sdl: Fixed -a and -d short options being considered invalid (#508 2/2)
Some checks are pending
lime-build / source (push) Waiting to run
lime-build / linux (appimage) (push) Waiting to run
lime-build / linux (fresh) (push) Waiting to run
lime-build / macos (arm64) (push) Waiting to run
lime-build / macos (x86_64) (push) Waiting to run
lime-build / macos-universal (push) Blocked by required conditions
lime-build / windows (msvc) (push) Waiting to run
lime-build / windows (msys2) (push) Waiting to run
lime-build / android (push) Waiting to run
lime-build / release (push) Blocked by required conditions
lime-format / clang-format (push) Waiting to run
lime-transifex / transifex (push) Waiting to run

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) {
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) {
switch (static_cast<char>(arg)) {
case 'd':