fixed compile and runtime errors

This commit is contained in:
Amy G. Bowersox 2019-12-07 22:09:27 -07:00
parent aa94d80145
commit 2cfb92d97b
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
# Initial test script
import upiwin_tmp
FBPRIMCLR_BLACK = 0x0000
FBPRIMCLR_RED = 0xF800
FBPRIMCLR_GREEN = 0x07E0

View File

@ -163,7 +163,7 @@ static HRESULT parse_cmdline(int argc, char *argv[], GLOBAL_CONFIG *parsed)
}
else
{
fprintf(stderr, "%s: no script specified\n", argv[0], c);
fprintf(stderr, "%s: no script specified\n", argv[0]);
return UPIWIN_E_NOSCRIPT;
}