summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-04-07 16:48:02 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-04-07 16:57:22 +0200
commitf80d3e27163a8fdc335b4796843d4e7c8b258672 (patch)
tree5e8eb8c3746ef3291be1a4988420326150da68f8 /source
parent0ccfd9c40b6790fca0f753e03b473b5f78ba97f9 (diff)
downloadmupdf-f80d3e27163a8fdc335b4796843d4e7c8b258672.tar.xz
Fix some warnings.
Diffstat (limited to 'source')
-rw-r--r--source/fitz/stext-device.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/fitz/stext-device.c b/source/fitz/stext-device.c
index 6ca26912..1bf1332b 100644
--- a/source/fitz/stext-device.c
+++ b/source/fitz/stext-device.c
@@ -572,7 +572,7 @@ fz_add_text_char_imp(fz_context *ctx, fz_text_device *dev, fz_text_style *style,
{
int can_append = 1;
int add_space = 0;
- fz_point dir, ndir, p, q, r, match;
+ fz_point dir, ndir, p, q, r;
float size;
fz_point delta;
float spacing = 0;
@@ -602,7 +602,8 @@ fz_add_text_char_imp(fz_context *ctx, fz_text_device *dev, fz_text_style *style,
*
* For both horizontal and vertical motion, trm->{e,f} gives the
* bottom left corner of the glyph.
- /* In horizontal mode:
+ *
+ * In horizontal mode:
* + p is bottom left.
* + q is the bottom right
* In vertical mode:
@@ -616,7 +617,7 @@ fz_add_text_char_imp(fz_context *ctx, fz_text_device *dev, fz_text_style *style,
q.x = trm->e + adv * dir.x;
q.y = trm->f + adv * dir.y;
}
- else
+ else
{
p.x = trm->e - adv * dir.x;
p.y = trm->f - adv * dir.y;