From 520061e312d18fae76e3e42209aa1274867c211a Mon Sep 17 00:00:00 2001 From: Wouter Van Rooy Date: Wed, 6 Mar 2013 13:24:49 +0100 Subject: Fixed warning for comparing int and pointer. Window_width and _height are int. So should be compared to 0 instead of NULL --- svte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svte.c') diff --git a/svte.c b/svte.c index 263a59d..22cdbcc 100644 --- a/svte.c +++ b/svte.c @@ -572,7 +572,7 @@ static void parse_config_file(gchar *config_file) { config->font = DEFAULT_FONT; } - if (NULL == config->window_width || NULL == config->window_height) { + if (0 == config->window_width || 0 == config->window_height) { config->window_width = DEFAULT_WINDOW_WIDTH; config->window_height = DEFAULT_WINDOW_HEIGHT; } -- cgit v1.2.3