diff options
author | waker <wakeroid@gmail.com> | 2011-03-08 12:27:55 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-08 12:27:55 +0100 |
commit | fb269bc2b4cbbe6b457b46588d39ace1c021e3f1 (patch) | |
tree | 1d71b57da0383ad5f89f97099fd167ff22950bc6 | |
parent | 9d44a584679d41e69efb1f0a28ca32cef50bf7f4 (diff) |
made \n working in notify plugin
-rw-r--r-- | plugins/notify/notify.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/notify/notify.c b/plugins/notify/notify.c index 10ebd959..ea382b16 100644 --- a/plugins/notify/notify.c +++ b/plugins/notify/notify.c @@ -163,6 +163,11 @@ esc_xml (const char *cmd, char *esc, int size) { dst += 6; src++; } + else if (*src == '\\' && *(src+1) == 'n') { + strcpy (dst, "\n"); + dst++; + src+=2; + } else { *dst++ = *src++; } |