diff options
author | Johny Mattsson <jmattsson@dius.com.au> | 2017-05-31 14:15:02 +1000 |
---|---|---|
committer | Johny Mattsson <jmattsson@dius.com.au> | 2017-05-31 14:15:02 +1000 |
commit | 125221e7878e3188e8ce858b76c380e10886e445 (patch) | |
tree | edc8a51b56e17d7d7242417f7fa77dc4f8f68741 /src/ql.c | |
parent | 4be8c4c1b2d3c3a840631ff99d441bb1db0ad88d (diff) | |
download | qlprint-125221e7878e3188e8ce858b76c380e10886e445.tar.gz qlprint-125221e7878e3188e8ce858b76c380e10886e445.tar.xz qlprint-125221e7878e3188e8ce858b76c380e10886e445.zip |
Fix wrong dimension check (whoops).
Diffstat (limited to 'src/ql.c')
-rw-r--r-- | src/ql.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -181,7 +181,7 @@ bool ql_print_raster_image(ql_ctx_t ctx, const ql_status_t *status, const ql_ras if (status->model_code == 'P' || status->model_code == '4') dn = 162; // 1296 pixels - if (img->width > dn * 8) + if (img->height > dn * 8) return false; // image too wide for printer char print_info[] = { ESC, 'i', 'z', |