diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2008-03-20 11:30:10 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2008-03-20 11:30:10 +0100 |
commit | ef814bedf90f25040d75db60680eac1329eafc97 (patch) | |
tree | b1d39cd3990d81f918209901846bed7d976e8c37 | |
parent | 9bc1c1f65d4a53adeff8e9eb9e926b5a37b21356 (diff) | |
download | mupdf-ef814bedf90f25040d75db60680eac1329eafc97.tar.xz |
Use C comments instead of C++ comments.
-rw-r--r-- | mupdf/pdf_image.c | 2 | ||||
-rw-r--r-- | raster/imagescale.c | 4 | ||||
-rw-r--r-- | raster/render.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mupdf/pdf_image.c b/mupdf/pdf_image.c index 5fd5f406..20a801d7 100644 --- a/mupdf/pdf_image.c +++ b/mupdf/pdf_image.c @@ -464,7 +464,7 @@ pdf_loadtile(fz_image *img, fz_pixmap *tile) void (*tilefunc)(unsigned char*,int,unsigned char*, int, int, int, int); fz_error *error; - assert(tile->x == 0); // can't handle general tile yet, only y-banding + assert(tile->x == 0); /* can't handle general tile yet, only y-banding */ assert(tile->n == img->n + 1); assert(tile->x >= 0); 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); diff --git a/raster/render.c b/raster/render.c index e750642f..68e0c6a3 100644 --- a/raster/render.c +++ b/raster/render.c @@ -373,7 +373,7 @@ DEBUG("image %dx%d %d+%d %s\n{\n", image->w, image->h, image->n, image->a, image calcimagescale(ctm, image->w, image->h, &dx, &dy); - // y-banded loading/scaling of image, more cache-friendly + /* y-banded loading/scaling of image, more cache-friendly */ int tileheight = MAX(512*1024/(image->w * image->n), dy); if ((dx != 1 || dy != 1) && image->h > tileheight) { int y = 0; |