aboutsummaryrefslogtreecommitdiffstats
path: root/dfa.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-11-21 10:20:11 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-11-21 10:20:11 +0200
commit4c1df695a4232fe3614e52ce8975d6d9cc14c542 (patch)
treed73288fdbef80615a9385e5210396b92745da334 /dfa.c
parentdf9a742bd1404327432e60607842edd1ebd72184 (diff)
parent5cf16f15d342bd16093b9cbd233404f7f52ae4b5 (diff)
downloadegawk-4c1df695a4232fe3614e52ce8975d6d9cc14c542.tar.gz
egawk-4c1df695a4232fe3614e52ce8975d6d9cc14c542.tar.bz2
egawk-4c1df695a4232fe3614e52ce8975d6d9cc14c542.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'dfa.c')
-rw-r--r--dfa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dfa.c b/dfa.c
index 62bb6435..02673781 100644
--- a/dfa.c
+++ b/dfa.c
@@ -841,8 +841,8 @@ using_simple_locale (bool multibyte)
&& '}' == 125 && '~' == 126)
};
- if (native_c_charset && !multibyte)
- return true;
+ if (!native_c_charset || multibyte)
+ return false;
else
{
/* Treat C and POSIX locales as being compatible. Also, treat