summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/elementary/src/lib/elm_cnp_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_cnp_helper.c b/legacy/elementary/src/lib/elm_cnp_helper.c
index 6d21702643..45a969a613 100644
--- a/legacy/elementary/src/lib/elm_cnp_helper.c
+++ b/legacy/elementary/src/lib/elm_cnp_helper.c
@@ -1198,7 +1198,7 @@ mark_up(const char *start, int inlen, int *lenp)
1198 q = ret = malloc(l + 1); 1198 q = ret = malloc(l + 1);
1199 1199
1200 /* Second pass: Change characters */ 1200 /* Second pass: Change characters */
1201 for (p = start; *p; ) 1201 for (p = start; ((!endp) || (p < endp)) && (*p); )
1202 { 1202 {
1203 for (i = 0; i < N_ESCAPES; i++) 1203 for (i = 0; i < N_ESCAPES; i++)
1204 { 1204 {