(PREPARE_LOOP): Correct typo prevent BOM from being written.
authordrepper <drepper>
Thu, 2 Nov 2000 22:10:57 +0000 (22:10 +0000)
committerdrepper <drepper>
Thu, 2 Nov 2000 22:10:57 +0000 (22:10 +0000)
iconvdata/utf-16.c

index aa0d00c..91e3390 100644 (file)
@@ -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)                                   \
        {                                                                     \