Format
This commit is contained in:
parent
93125457a6
commit
9530e7b13a
|
@ -217,7 +217,7 @@ is_dir_path(char *p)
|
|||
{
|
||||
char c;
|
||||
int saw_slash = 0;
|
||||
while (c = *p++)
|
||||
while((c = *p++))
|
||||
saw_slash = c == DIR_SEP_CHAR;
|
||||
return saw_slash;
|
||||
}
|
||||
|
|
|
@ -271,7 +271,7 @@ main(int argc, char **argv)
|
|||
int i = 1;
|
||||
char *rom;
|
||||
if(i != argc && argv[i][0] == '-' && argv[i][1] == 'v') {
|
||||
fprintf(stdout, "Uxn11 - Varvara Emulator, 29 Aug 2024.\n");
|
||||
fprintf(stdout, "Uxn11 - Varvara Emulator, 19 Sep 2024.\n");
|
||||
exit(0);
|
||||
}
|
||||
rom = i == argc ? "boot.rom" : argv[i++];
|
||||
|
|
|
@ -69,7 +69,7 @@ main(int argc, char **argv)
|
|||
int i = 1;
|
||||
char *rom;
|
||||
if(i != argc && argv[i][0] == '-' && argv[i][1] == 'v') {
|
||||
fprintf(stdout, "Uxncli - Console Varvara Emulator, 29 Aug 2024.\n");
|
||||
fprintf(stdout, "Uxn11(cli) - Varvara Emulator, 19 Sep 2024.\n");
|
||||
exit(0);
|
||||
}
|
||||
rom = i == argc ? "boot.rom" : argv[i++];
|
||||
|
|
Loading…
Reference in New Issue