aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/highlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/highlight.cpp')
-rw-r--r--src/highlight.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlight.cpp b/src/highlight.cpp
index 90426803..3014ebdf 100644
--- a/src/highlight.cpp
+++ b/src/highlight.cpp
@@ -335,7 +335,7 @@ static bool has_expand_reserved(const wcstring &str)
for (size_t i=0; i < str.size(); i++)
{
wchar_t wc = str.at(i);
- if (wc >= EXPAND_RESERVED && wc <= EXPAND_RESERVED_END)
+ if (wc >= EXPAND_RESERVED_BASE && wc <= EXPAND_RESERVED_END)
{
result = true;
break;