diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2017-03-02 19:14:04 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2017-03-02 19:14:04 +1030 |
commit | 1a307123af14cfa50a0c35819cfaee79f0ade1ba (patch) | |
tree | 11c2ff15cec8f1d048a05caa775303b1fbf0fc17 | |
parent | 5854dd9df40a68efb0cb1b2bb7f94e3f05cbdf45 (diff) |
pdf-operators: fix bug in line wrapping
patch by jmmorlan@sonic.net
https://bugs.freedesktop.org/show_bug.cgi?id=100029
-rw-r--r-- | src/cairo-pdf-operators.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-pdf-operators.c b/src/cairo-pdf-operators.c index 99a8dc800..b4ac253e6 100644 --- a/src/cairo-pdf-operators.c +++ b/src/cairo-pdf-operators.c @@ -319,7 +319,8 @@ _word_wrap_stream_write (cairo_output_stream_t *base, if (*data == '\n' || stream->column >= stream->max_column) { _cairo_output_stream_printf (stream->output, "\n"); stream->column = 0; - } else if (*data == '<') { + } + if (*data == '<') { stream->state = WRAP_STATE_HEXSTRING; } else if (*data == '(') { stream->state = WRAP_STATE_STRING; |