From ca3965d7ffba1a809e5447f30a3c7acfafc9a945 Mon Sep 17 00:00:00 2001 From: Barrucadu Date: Sun, 26 Apr 2009 21:59:05 +0100 Subject: Fixed some warnings. --- uzbl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uzbl.c') diff --git a/uzbl.c b/uzbl.c index abd0566..cbd6ec7 100644 --- a/uzbl.c +++ b/uzbl.c @@ -422,13 +422,13 @@ add_binding (char *binding, char *action, bool internal) { static void settings_init () { GKeyFile* config; - gboolean res = NULL; + gboolean res = FALSE; gchar** keysi = NULL; gchar** keyse = NULL; if (! config_file) { const char* xdg = getenv ("XDG_CONFIG_HOME"); - char* conf[256]; + char conf[256]; if (xdg) { printf("XDG_CONFIG_DIR: %s\n", xdg); strcpy (conf, xdg); -- cgit v1.2.3