summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungki Lee <mk5004.lee@samsung.com>2017-01-18 14:25:51 +0900
committerMyungKi Lee <mk5004.lee@samsung.com>2017-01-17 22:30:04 -0800
commit2e261e710c04cc8466350ecd5e136a6a19d30233 (patch)
tree6371dae087f1c40c57bb3b29a0ee8543c1fdf59f
parenta136b35c1d179bff20a0df90b43badff27b1c5cf (diff)
downloadnotification-2e261e710c04cc8466350ecd5e136a6a19d30233.tar.gz
notification-2e261e710c04cc8466350ecd5e136a6a19d30233.tar.bz2
notification-2e261e710c04cc8466350ecd5e136a6a19d30233.zip
- At get_text,'%' is not to be ignored. Change-Id: Ie633e80d8ff7f7de5116f4fe17612a3e4e1ebb80 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
-rwxr-xr-xsrc/notification.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notification.c b/src/notification.c
index f53a67d..a696ddb 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);
}
}