summaryrefslogtreecommitdiff
path: root/src/devices/grolj4/lj4.cpp
diff options
context:
space:
mode:
authorwl <wl>2006-02-11 20:34:36 +0000
committerwl <wl>2006-02-11 20:34:36 +0000
commit4002ae89fa6320c0b96889d76aab727c836115c2 (patch)
tree774a8de73e1017e897d9fd67194599bc0563c672 /src/devices/grolj4/lj4.cpp
parent6a7f55cf47c291790cf08aaba36a947d7f6d5ab3 (diff)
downloadgroff-4002ae89fa6320c0b96889d76aab727c836115c2.tar.gz
* src/include/font.h: s/glyph_t/glyph/.
Update all callers. * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/. s/output_character_t/output_character/.
Diffstat (limited to 'src/devices/grolj4/lj4.cpp')
-rw-r--r--src/devices/grolj4/lj4.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/grolj4/lj4.cpp b/src/devices/grolj4/lj4.cpp
index 0f0b69b0..c48b8fad 100644
--- a/src/devices/grolj4/lj4.cpp
+++ b/src/devices/grolj4/lj4.cpp
@@ -163,7 +163,7 @@ class lj4_printer : public printer {
public:
lj4_printer(int);
~lj4_printer();
- void set_char(glyph_t, font *, const environment *, int, const char *name);
+ void set_char(glyph, font *, const environment *, int, const char *name);
void draw(int code, int *p, int np, const environment *env);
void begin_page(int);
void end_page(int page_length);
@@ -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(glyph_t glyph, font *f, const environment *env,
+void lj4_printer::set_char(glyph g, font *f, const environment *env,
int w, const char *)
{
- int code = f->get_code(glyph);
+ int code = f->get_code(g);
unsigned char ch = code & 0xff;
unsigned short symbol_set = code >> 8;