Skip to content

Commit 51a911b

Browse files
Support dirs with spaces in Mods menu (#501)
(thanks to @andrey-budko)
1 parent 3ccbcda commit 51a911b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Quake/menu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6789,7 +6789,7 @@ void M_Mods_Key (int key)
67896789
item = modsmenu.items[modsmenu.list.cursor].source;
67906790
if (Modlist_GetStatus (item) == MODSTATUS_INSTALLED)
67916791
{
6792-
Cbuf_AddText (va ("game %s\n", item->name));
6792+
Cbuf_AddText (va ("game \"%s\"\n", item->name));
67936793
M_Menu_Main_f ();
67946794
}
67956795
else

0 commit comments

Comments
 (0)