From 169d970ad1045d5b682f0e0a2e5cdd4668bc9a45 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 25 Jun 2012 03:13:09 -0400 Subject: [PATCH] use const for filename --- termite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termite.c b/termite.c index d65ba0c..616b47a 100644 --- a/termite.c +++ b/termite.c @@ -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();