aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/utf-16.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/utf-16.c')
-rw-r--r--iconvdata/utf-16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/utf-16.c b/iconvdata/utf-16.c
index aa0d00c119..91e3390cba 100644
--- a/iconvdata/utf-16.c
+++ b/iconvdata/utf-16.c
@@ -45,7 +45,7 @@
enum direction dir = ((struct utf16_data *) step->__data)->dir; \
enum variant var = ((struct utf16_data *) step->__data)->var; \
int swap = ((struct utf16_data *) step->__data)->swap; \
- if (FROM_DIRECTION || var == UTF_16) \
+ if (FROM_DIRECTION && var == UTF_16) \
{ \
if (data->__invocation_counter == 0) \
{ \