This commit is contained in:
Devine Lu Linvega 2024-09-19 14:14:05 -07:00
parent 93125457a6
commit 9530e7b13a
3 changed files with 8 additions and 8 deletions

View File

@ -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;
}

View File

@ -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++];

View File

@ -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++];