summaryrefslogtreecommitdiff
path: root/raster
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2008-03-08 17:25:56 +0100
committerSebastian Rasmussen <sebras@hotmail.com>2008-03-08 17:25:56 +0100
commite921e12bcfa3a343eac5e4b7ba3f2566f5eff49f (patch)
tree5ccf283bb19bb0f45c6a7ce66a00eeb395fa0817 /raster
parentfce08043c7b939ecefb44e22852513b4d60f3ac4 (diff)
downloadmupdf-e921e12bcfa3a343eac5e4b7ba3f2566f5eff49f.tar.xz
Whitespace fixes.
Diffstat (limited to 'raster')
-rw-r--r--raster/glyphcache.c4
-rw-r--r--raster/imagescale.c4
-rw-r--r--raster/pathstroke.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/raster/glyphcache.c b/raster/glyphcache.c
index b10b47bb..41259878 100644
--- a/raster/glyphcache.c
+++ b/raster/glyphcache.c
@@ -95,7 +95,7 @@ fz_newglyphcache(fz_glyphcache **arenap, int slots, int size)
cleanup:
fz_free(arena->hash);
- fz_free(arena->lru);
+ fz_free(arena->lru);
fz_free(arena->buffer);
fz_free(arena);
return fz_outofmem;
@@ -105,7 +105,7 @@ void
fz_dropglyphcache(fz_glyphcache *arena)
{
fz_free(arena->hash);
- fz_free(arena->lru);
+ fz_free(arena->lru);
fz_free(arena->buffer);
fz_free(arena);
}
diff --git a/raster/imagescale.c b/raster/imagescale.c
index 38310a4e..96486033 100644
--- a/raster/imagescale.c
+++ b/raster/imagescale.c
@@ -88,7 +88,7 @@ static void srow5(byte *src, byte *dst, int w, int denom)
static void srow5p2(byte * restrict src, byte * restrict dst, int w, int log2denom)
{
- srownp2(src, dst, w, log2denom, 5);
+ srownp2(src, dst, w, log2denom, 5);
}
static inline void scoln(byte * restrict src, byte * restrict dst, int w, int denom, int n)
@@ -216,7 +216,7 @@ fz_scalepixmap(fz_pixmap **dstp, fz_pixmap *src, int xdenom, int ydenom)
while ((v >>= 1)) ydenom2++;
scolx = scol5p2;
}
-
+
break;
}
diff --git a/raster/pathstroke.c b/raster/pathstroke.c
index b7b76f9f..f1afb825 100644
--- a/raster/pathstroke.c
+++ b/raster/pathstroke.c
@@ -189,7 +189,7 @@ linejoin(struct sctx *s, fz_point a, fz_point b, fz_point c)
if (linejoin == ROUND)
{
- if (cross < 0)
+ if (cross < 0)
{
error = line(s, b.x - dlx0, b.y - dly0, b.x - dlx1, b.y - dly1);
if (error) return error;
@@ -323,7 +323,7 @@ strokemoveto(struct sctx *s, fz_point cur)
{
fz_error *error;
- error = strokeflush(s);
+ error = strokeflush(s);
if (error) return error;
s->seg[0] = cur;