summaryrefslogtreecommitdiff
path: root/utils/themeeditor/tag_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/tag_table.c')
-rw-r--r--utils/themeeditor/tag_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/themeeditor/tag_table.c b/utils/themeeditor/tag_table.c
index 74eb6cbe26..6ec33023c2 100644
--- a/utils/themeeditor/tag_table.c
+++ b/utils/themeeditor/tag_table.c
@@ -245,7 +245,7 @@ int find_escape_character(char lookup)
245 while(*current != lookup && *current != '\0') 245 while(*current != lookup && *current != '\0')
246 current++; 246 current++;
247 247
248 if(*current == lookup) 248 if(*current == lookup && *current)
249 return 1; 249 return 1;
250 else 250 else
251 return 0; 251 return 0;