From 2e261e710c04cc8466350ecd5e136a6a19d30233 Mon Sep 17 00:00:00 2001 From: Myungki Lee Date: Wed, 18 Jan 2017 14:25:51 +0900 Subject: [PATCH] Add exception handling for '%' - At get_text,'%' is not to be ignored. Change-Id: Ie633e80d8ff7f7de5116f4fe17612a3e4e1ebb80 Signed-off-by: Myungki Lee --- src/notification.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/notification.c b/src/notification.c index f53a67da..a696ddbd 100755 --- a/src/notification.c +++ b/src/notification.c @@ -733,7 +733,11 @@ EXPORT_API int notification_get_text(notification_h noti, strncat(result_str, buf_str, max_len); temp_str += 3; + } else { + strncat(result_str, temp_str, 1); } + } else { + strncat(result_str, temp_str, 1); } } -- 2.34.1