mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
@@ -182,7 +182,7 @@ int main(int argc, char *argv[])
|
||||
switch (ch) {
|
||||
case 'b':
|
||||
if (strlen(musl_optarg) == 2)
|
||||
opt_B(&musl_optarg[1]);
|
||||
opt_B(musl_optarg);
|
||||
else
|
||||
errx("Must specify exactly 2 characters for option 'b'");
|
||||
break;
|
||||
@@ -204,7 +204,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
case 'g':
|
||||
if (strlen(musl_optarg) == 4)
|
||||
opt_G(&musl_optarg[1]);
|
||||
opt_G(musl_optarg);
|
||||
else
|
||||
errx("Must specify exactly 4 characters for option 'g'");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user