diff options
-rw-r--r-- | src/LineMarker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index 03a9c1dd8..66ac50a5c 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -128,7 +128,7 @@ void XPM::Draw(Surface *surface, PRectangle &rc) { int startY = rc.top + (rc.Height() - height) / 2; int startX = rc.left + (rc.Width() - width) / 2; for (int y=0;y<height;y++) { - char prevCode = 0; + int prevCode = 0; int xStartRun = 0; for (int x=0; x<width; x++) { int code = data[y*width + x]; |