]> code.delx.au - gnu-emacs/commitdiff
(ccl_driver): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Thu, 25 Jan 2001 09:46:23 +0000 (09:46 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 25 Jan 2001 09:46:23 +0000 (09:46 +0000)
src/ChangeLog
src/ccl.c

index 4a4197c93311126a4419abedd821bf28ec81dcee..bf5ea298724e9a2a2ce9a5f2959d9b97f8d2c545 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-25  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * ccl.c (ccl_driver): Fix last change.
+
 2001-01-25  Kenichi Handa  <handa@etl.go.jp>
 
        * ccl.h (sturct ccl_program): New member suppress_error.
index 259ae8662f57379ae48485951d564699311fa1ab..f5f024bf8d6a750a95460acf4d5b7c73841a7830 100644 (file)
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -1720,8 +1720,9 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
     }
 
  ccl_error_handler:
-  if (ccl->suppress_error
-      && destination)
+  /* The suppress_error member is set when e.g. a CCL-based coding
+     system is used for terminal output.  */
+  if (!ccl->suppress_error && destination)
     {
       /* We can insert an error message only if DESTINATION is
          specified and we still have a room to store the message