summaryrefslogtreecommitdiff
path: root/raster/imagescale.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2008-03-20 11:30:10 +0100
committerSebastian Rasmussen <sebras@hotmail.com>2008-03-20 11:30:10 +0100
commitef814bedf90f25040d75db60680eac1329eafc97 (patch)
treeb1d39cd3990d81f918209901846bed7d976e8c37 /raster/imagescale.c
parent9bc1c1f65d4a53adeff8e9eb9e926b5a37b21356 (diff)
downloadmupdf-ef814bedf90f25040d75db60680eac1329eafc97.tar.xz
Use C comments instead of C++ comments.
Diffstat (limited to 'raster/imagescale.c')
-rw-r--r--raster/imagescale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/raster/imagescale.c b/raster/imagescale.c
index a728a998..c7e972ee 100644
--- a/raster/imagescale.c
+++ b/raster/imagescale.c
@@ -187,7 +187,7 @@ fz_newscaledpixmap(fz_pixmap **dstp, int w, int h, int n, int xdenom, int ydenom
return fz_newpixmap(dstp, 0, 0, ow, oh, n);
}
-// TODO: refactor
+/* TODO: refactor */
fz_error *
fz_scalepixmaptile(fz_pixmap *dst, int xoffs, int yoffs, fz_pixmap *src, int xdenom, int ydenom)
{
@@ -206,7 +206,7 @@ fz_scalepixmaptile(fz_pixmap *dst, int xoffs, int yoffs, fz_pixmap *src, int xde
yoffs /= ydenom;
n = src->n;
- assert(xoffs == 0); // don't handle stride properly yet
+ assert(xoffs == 0); /* don't handle stride properly yet */
assert(dst->n == n);
assert(dst->w >= xoffs + ow && dst->h >= yoffs + oh);