diff options
author | Rocco Rutte <pdmef@gmx.net> | 2009-06-23 15:42:09 +0200 |
---|---|---|
committer | Rocco Rutte <pdmef@gmx.net> | 2009-06-23 15:42:09 +0200 |
commit | 6970e71e0702906859b26df6562f9a6e4811f8c1 (patch) | |
tree | 7cc19ccf182879206cf83e62e9b9e30a5017d061 /handler.c | |
parent | 4837d06a00e74c27b143d72914b094224f473cbe (diff) |
Implement state_putws() and state_putwc(), see #3148.
This is needed to unbreak text/enriched rendering on Linux.
Diffstat (limited to 'handler.c')
-rw-r--r-- | handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -807,7 +807,7 @@ static int text_enriched_handler (BODY *a, STATE *s) { if (state != ST_EOF) { - if (!bytes || (wc = fgetwc (s->fpin)) == EOF) + if (!bytes || (wc = fgetwc (s->fpin)) == WEOF) state = ST_EOF; else bytes--; |