summaryrefslogtreecommitdiff
path: root/src/devices/grolj4/lj4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/grolj4/lj4.cpp')
-rw-r--r--src/devices/grolj4/lj4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/grolj4/lj4.cpp b/src/devices/grolj4/lj4.cpp
index 83bb877b..a6287abd 100644
--- a/src/devices/grolj4/lj4.cpp
+++ b/src/devices/grolj4/lj4.cpp
@@ -278,10 +278,10 @@ int is_unprintable(unsigned char c)
return c < 32 && (c == 0 || (7 <= c && c <= 15) || c == 27);
}
-void lj4_printer::set_char(int index, font *f, const environment *env,
+void lj4_printer::set_char(int idx, font *f, const environment *env,
int w, const char *)
{
- int code = f->get_code(index);
+ int code = f->get_code(idx);
unsigned char ch = code & 0xff;
unsigned short symbol_set = code >> 8;