aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2001-01-25 09:46:23 +0000
committerEli Zaretskii <[email protected]>2001-01-25 09:46:23 +0000
commit0fb94c7febd0cc19794a48b177135c918b77a92e (patch)
treee23abad46d6401dd39d8f51a96f6565e432ebbc5 /src
parentbb264518984b56025d1b27a6fe4552b32f303628 (diff)
(ccl_driver): Fix last change.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/ccl.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4a4197c933..bf5ea29872 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-25 Eli Zaretskii <[email protected]>
+
+ * ccl.c (ccl_driver): Fix last change.
+
2001-01-25 Kenichi Handa <[email protected]>
* ccl.h (sturct ccl_program): New member suppress_error.
diff --git a/src/ccl.c b/src/ccl.c
index 259ae8662f..f5f024bf8d 100644
--- 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