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 (#508 2/2)
This is a purely cosmetic issue which caused a warning to appear in stdout
This commit is contained in:
parent
563089d792
commit
da2912e75f
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||||
|
|
Loading…
Reference in a new issue