print a message if menu.plist can't be opened

This commit is contained in:
Bill Currie 2005-08-18 00:28:14 +00:00
parent b7803030c4
commit e257560174

View file

@ -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);