summaryrefslogtreecommitdiff
path: root/tools/notify-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/notify-send.c')
-rw-r--r--tools/notify-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/notify-send.c b/tools/notify-send.c
index abfffe6..67e0b03 100644
--- a/tools/notify-send.c
+++ b/tools/notify-send.c
@@ -246,7 +246,7 @@ main (int argc, char *argv[])
char **tokens = NULL;
while ((hint = hints[i++])) {
- tokens = g_strsplit (hint, ":", -1);
+ tokens = g_strsplit (hint, ":", 3);
l = g_strv_length (tokens);
if (l != 3) {