diff --git a/src/filemanager/cmd.c b/src/filemanager/cmd.c
index 29e66a0..00e7c25 100644
a
|
b
|
void |
1702 | 1702 | save_setup_cmd (void) |
1703 | 1703 | { |
1704 | 1704 | vfs_path_t *vpath; |
1705 | | char *path; |
1706 | 1705 | |
1707 | | vpath = mc_config_get_full_vpath (MC_CONFIG_FILE); |
1708 | | path = vfs_path_to_str_flags (vpath, 0, VPF_STRIP_HOME); |
1709 | | vfs_path_free (vpath); |
| 1706 | vpath = vfs_path_from_str_flags (mc_config_get_path (), VPF_STRIP_HOME); |
1710 | 1707 | |
1711 | 1708 | if (save_setup (TRUE, TRUE)) |
1712 | | message (D_NORMAL, _("Setup"), _("Setup saved to %s"), path); |
| 1709 | message (D_NORMAL, _("Setup"), _("Setup saved to %s"), vpath->str); |
1713 | 1710 | else |
1714 | | message (D_ERROR, _("Setup"), _("Unable to save setup to %s"), path); |
1715 | | g_free (path); |
| 1711 | message (D_ERROR, _("Setup"), _("Unable to save setup to %s"), vpath->str); |
| 1712 | |
| 1713 | vfs_path_free (vpath); |
1716 | 1714 | } |
1717 | 1715 | |
1718 | 1716 | /* --------------------------------------------------------------------------------------------- */ |