From 114b728f96dfab7a02976ea05243b542a662abc7 Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 4 Jun 2015 17:18:05 -0400 Subject: [PATCH] [fix] var --- src/string_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/string_utils.c b/src/string_utils.c index 1c5db686..f34fee8a 100644 --- a/src/string_utils.c +++ b/src/string_utils.c @@ -164,7 +164,7 @@ inline bool utf8_is_letter_or_number(int32_t ch) { inline bool utf8_is_hyphen(int32_t ch) { int cat = utf8proc_category(ch); - return cat == UTF8PROC_CATEGORY_PD || c == 0x2212; + return cat == UTF8PROC_CATEGORY_PD || ch == 0x2212; } inline bool utf8_is_punctuation(int32_t ch) {