Fix a sprintf size typo which would overwrite the error buffer in bim's open_file func

This commit is contained in:
Lioncash 2014-05-21 21:03:45 -04:00
parent faec73e73d
commit b3ba650ac2

View File

@ -549,7 +549,7 @@ void open_file(char * file) {
if (!f) {
char buf[1024];
snprintf(buf, 1204, "Could not open %s", file);
snprintf(buf, 1024, "Could not open %s", file);
render_error(buf);
return;
}