From cabc14fa1750f7ddeb6cd3cdfee12fdbb5f6b229 Mon Sep 17 00:00:00 2001 From: Marco Bortolin Date: Sun, 25 Jan 2015 18:08:09 +0100 Subject: [PATCH] if media dir is not set then defaults to the user dir --- src/gui/windows/interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/windows/interface.cpp b/src/gui/windows/interface.cpp index 55950290..b825c7ff 100644 --- a/src/gui/windows/interface.cpp +++ b/src/gui/windows/interface.cpp @@ -297,7 +297,7 @@ void Interface::on_fdd_mount(RC::Event &) if(floppy_dir.empty()) { floppy_dir = g_program.config().get_file(PROGRAM_SECTION, PROGRAM_MEDIA_DIR, false); if(floppy_dir.empty()) { - floppy_dir = g_program.config().get_user_home(); + floppy_dir = g_program.config().get_cfg_home(); } } try {