Fix comments of history and panels.ini files location.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2023-10-29 15:05:12 +03:00
parent 6b274f7034
commit 018687b12f
3 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ int num_history_items_recorded = 60;
/* --------------------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------- */
/** /**
* Load the history from the ${XDG_CACHE_HOME}/mc/history file. * Load the history from the ${XDG_DATA_HOME}/mc/history file.
* It is called with the widgets history name and returns the GList list. * It is called with the widgets history name and returns the GList list.
*/ */

View File

@ -83,7 +83,7 @@ dlg_default_get_colors (const Widget * w)
/* --------------------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------- */
/** /**
* Read histories from the ${XDG_CACHE_HOME}/mc/history file * Read histories from the ${XDG_DATA_HOME}/mc/history file
*/ */
static void static void
dlg_read_history (WDialog * h) dlg_read_history (WDialog * h)
@ -571,7 +571,7 @@ dlg_run (WDialog * h)
/* --------------------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------- */
/** /**
* Write history to the ${XDG_CACHE_HOME}/mc/history file * Write history to the ${XDG_DATA_HOME}/mc/history file
*/ */
void void
dlg_save_history (WDialog * h) dlg_save_history (WDialog * h)

View File

@ -227,7 +227,7 @@ GArray *macros_list;
/*** file scope variables ************************************************************************/ /*** file scope variables ************************************************************************/
static char *profile_name = NULL; /* ${XDG_CONFIG_HOME}/mc/ini */ static char *profile_name = NULL; /* ${XDG_CONFIG_HOME}/mc/ini */
static char *panels_profile_name = NULL; /* ${XDG_CACHE_HOME}/mc/panels.ini */ static char *panels_profile_name = NULL; /* ${XDG_CONFIG_HOME}/mc/panels.ini */
/* *INDENT-OFF* */ /* *INDENT-OFF* */
static const struct static const struct