summaryrefslogtreecommitdiff
path: root/console_cmds.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-03-28 13:30:51 +0000
committerdarkvater <darkvater@openttd.org>2005-03-28 13:30:51 +0000
commit6bca4c041a243de1750f660aec7b386bdfce335e (patch)
tree6cffe0e6190cbdddbfde21540b0a10de2eadcef2 /console_cmds.c
parent4573a9f872ca0f384d9db513687fcf35f664863f (diff)
downloadopenttd-6bca4c041a243de1750f660aec7b386bdfce335e.tar.xz
(svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch [1171208]. Only requery drive(s) if the user changes a directory, also surpress the OS error box that pops up on some windows machines. Tron + glx (and me)
Diffstat (limited to 'console_cmds.c')
-rw-r--r--console_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c
index e8ddcb051..809808c3a 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -293,7 +293,7 @@ DEF_CONSOLE_CMD(ConPrintWorkingDirectory)
FiosGetSavegameList(&_fios_num, SLD_LOAD_GAME);
FiosFreeSavegameList();
- FiosGetDescText(&path);
+ FiosGetDescText(&path, NULL);
IConsolePrint(_iconsole_color_default, path);
return NULL;
}