Fix a sprintf size typo which would overwrite the error buffer in bim's open_file func
This commit is contained in:
parent
faec73e73d
commit
b3ba650ac2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user