paint: only two remote holes in the default install, in a heck of a long time!

This commit is contained in:
stanley lieber 2012-07-09 17:05:59 -05:00
parent 546ee86c52
commit ad84d289a2

View file

@ -86,7 +86,7 @@ main(int argc, char *argv[])
case 0: case 0:
break; break;
case 1: case 1:
strncpy(file, argv[0], sizeof(argv[0])); strncpy(file, argv[0], sizeof(file)-1);
if(loadimg(file) < 0) if(loadimg(file) < 0)
sysfatal("%r"); sysfatal("%r");
break; break;