summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-02 16:55:41 +0100
committerPablo Barciela <[email protected]>2018-01-02 16:55:41 +0100
commit87e53b3bba17e7718cb120837268a8b5acfc24ca (patch)
tree8eb284a093c61d4a62f2b23316db3d56b9ab14df
parent88a2e87f43a8ecb3b04176f2bda8a9f690c3fb16 (diff)
downloadpluma-87e53b3bba17e7718cb120837268a8b5acfc24ca.tar.bz2
pluma-87e53b3bba17e7718cb120837268a8b5acfc24ca.tar.xz
pluma.c: Fix build warning:
comparison between pointer and zero character constant
-rw-r--r--pluma/pluma.c2
1 files changed, 1 insertions, 1 deletions
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]);