summaryrefslogtreecommitdiff
path: root/pango-view/viewer-pangoft2.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango-view/viewer-pangoft2.c')
-rw-r--r--pango-view/viewer-pangoft2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango-view/viewer-pangoft2.c b/pango-view/viewer-pangoft2.c
index 2699b740..87973c80 100644
--- a/pango-view/viewer-pangoft2.c
+++ b/pango-view/viewer-pangoft2.c
@@ -133,7 +133,7 @@ pangoft2_view_write (gpointer instance G_GNUC_UNUSED,
int width,
int height)
{
- int row, bytes;
+ int row;
FT_Bitmap *bitmap = (FT_Bitmap *) surface;
/* Write it as pgm to output */
@@ -142,7 +142,7 @@ pangoft2_view_write (gpointer instance G_GNUC_UNUSED,
"%d %d\n"
"255\n", width, height);
for (row = 0; row < height; row++)
- bytes = fwrite(bitmap->buffer + row * bitmap->pitch, 1, width, stream);
+ fwrite (bitmap->buffer + row * bitmap->pitch, 1, width, stream);
}
const PangoViewer pangoft2_viewer = {