mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 18:01:13 +00:00
print a message if menu.plist can't be opened
This commit is contained in:
parent
b7803030c4
commit
e257560174
1 changed files with 3 additions and 1 deletions
|
@ -212,8 +212,10 @@ PLItem read_plist (void)
|
|||
local PLItem plist;
|
||||
|
||||
file = QFS_OpenFile ("menu.plist");
|
||||
if (!file)
|
||||
if (!file) {
|
||||
dprint ("could not load menu.plist\n");
|
||||
return NIL;
|
||||
}
|
||||
plist_data = str_new ();
|
||||
while ((l = Qgetline (file)))
|
||||
str_cat (plist_data, l);
|
||||
|
|
Loading…
Reference in a new issue