use const for filename

This commit is contained in:
Daniel Micay 2012-06-25 03:13:09 -04:00
parent b71dd341b1
commit 169d970ad1
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ static void load_config(GtkWindow *window, VteTerminal *vte,
gboolean *dynamic_title, gboolean *urgent_on_bell,
gboolean *clickable_url, const char **term) {
static const char *filename = "termite.cfg";
static const char * const filename = "termite.cfg";
const char *dir = g_get_user_config_dir();
char *path = g_build_filename(dir, filename, NULL);
GKeyFile *config = g_key_file_new();