Skip to content

Commit

Permalink
if media dir is not set then defaults to the user dir
Browse files Browse the repository at this point in the history
  • Loading branch information
barotto committed Jan 25, 2015
1 parent d1dc6ff commit cabc14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/windows/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cabc14f

Please sign in to comment.