summaryrefslogtreecommitdiff
path: root/src/devices/grotty/tty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/grotty/tty.cpp')
-rw-r--r--src/devices/grotty/tty.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/grotty/tty.cpp b/src/devices/grotty/tty.cpp
index aab195d0..20225c54 100644
--- a/src/devices/grotty/tty.cpp
+++ b/src/devices/grotty/tty.cpp
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989-2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2000, 2001, 2002, 2003, 2004
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -264,9 +265,9 @@ int tty_printer::tty_color(unsigned int r,
return unknown_color;
}
-tty_printer::tty_printer(const char *device) : cached_v(0)
+tty_printer::tty_printer(const char *dev) : cached_v(0)
{
- is_utf8 = !strcmp(device, "utf8");
+ is_utf8 = !strcmp(dev, "utf8");
if (is_utf8) {
hline_char = 0x2500;
vline_char = 0x2502;