CUpdateSettings:: allow choose tmp(ramfs,TMPFS_MAGIC) as update dir

This commit is contained in:
Jacek Jendrzej
2013-10-08 10:10:10 +02:00
parent 35b49b302d
commit 6f07cbe3dd
5 changed files with 16 additions and 12 deletions

View File

@@ -93,7 +93,7 @@ int CUpdateSettings::exec(CMenuTarget* parent, const std::string &actionKey)
if(actionKey == "update_dir") {
const char *action_str = "update";
if(chooserDir(g_settings.update_dir, true, action_str, sizeof(g_settings.update_dir)-1))
if(chooserDir(g_settings.update_dir, true, action_str, sizeof(g_settings.update_dir)-1,true))
printf("[neutrino] new %s dir %s\n", action_str, g_settings.update_dir);
return res;