oh also, fuck that shit
This commit is contained in:
parent
8e41ed751e
commit
332282c809
|
@ -306,7 +306,7 @@ void OnOpenFile(uiMenuItem* item, uiWindow* window, void* blarg)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
strncpy_s(ROMPath, file, 1023);
|
strncpy(ROMPath, file, 1023);
|
||||||
ROMPath[1023] = '\0';
|
ROMPath[1023] = '\0';
|
||||||
uiFreeText(file);
|
uiFreeText(file);
|
||||||
// TODO: change libui to store strings in stack-allocated buffers?
|
// TODO: change libui to store strings in stack-allocated buffers?
|
||||||
|
|
Loading…
Reference in New Issue