summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]);