diff options
author | Wouter Van Rooy <wouter.van.rooy@vasco.com> | 2013-03-06 13:24:49 +0100 |
---|---|---|
committer | Wouter Van Rooy <wouter.van.rooy@vasco.com> | 2013-03-06 13:24:49 +0100 |
commit | 520061e312d18fae76e3e42209aa1274867c211a (patch) | |
tree | 61302da5087d6cf859b1842af5df6467f0bab65c /svte.c | |
parent | 65a018a190ed68181de73defe0841c0caa50c8dc (diff) |
Fixed warning for comparing int and pointer.
Window_width and _height are int. So should be compared to 0 instead of NULL
Diffstat (limited to 'svte.c')
-rw-r--r-- | svte.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |