summaryrefslogtreecommitdiff
path: root/src/devices/grodvi/dvi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/grodvi/dvi.cc')
-rw-r--r--src/devices/grodvi/dvi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/grodvi/dvi.cc b/src/devices/grodvi/dvi.cc
index 74422f80..ec227472 100644
--- a/src/devices/grodvi/dvi.cc
+++ b/src/devices/grodvi/dvi.cc
@@ -521,8 +521,8 @@ void dvi_printer::moveto(int h, int v)
void dvi_printer::draw(int code, int *p, int np, const environment *env)
{
if (code == 'l') {
- int x, y;
- int height = 0, width;
+ int x = 0, y = 0;
+ int height = 0, width = 0;
int thickness;
if (line_thickness < 0)
thickness = env->size*RES_7227*linewidth/1000;