From 87e53b3bba17e7718cb120837268a8b5acfc24ca Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Tue, 2 Jan 2018 16:55:41 +0100 Subject: pluma.c: Fix build warning: comparison between pointer and zero character constant --- pluma/pluma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pluma/pluma.c b/pluma/pluma.c index 532f6a4b..12ae069d 100644 --- a/pluma/pluma.c +++ b/pluma/pluma.c @@ -303,7 +303,7 @@ on_message_received (const char *message, line_position = atoi (params[1]); - if (params[2] != '\0') + if (*params[2] != '\0') encoding = pluma_encoding_get_from_charset (params[2]); n_uris = atoi (params[3]); -- cgit v1.2.1