diff options
author | wlemb <wlemb> | 2003-04-04 08:45:31 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-04-04 08:45:31 +0000 |
commit | 7b104f6a55abbd7b4679cd8a7b581def2d68ad48 (patch) | |
tree | cce91fc9a15371e7e0271c3a62f720bc83f0e825 /src/devices/grotty | |
parent | 52e2bd9de9971843c98ee4b029c8c8184fa3e25d (diff) | |
download | groff-7b104f6a55abbd7b4679cd8a7b581def2d68ad48.tar.gz |
* doc/groff.texinfo: Change dir category to `Typesetting'.
* src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
(*printer::change_color, *printer::change_fill_color): Add missing
`const'.
Diffstat (limited to 'src/devices/grotty')
-rw-r--r-- | src/devices/grotty/tty.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/grotty/tty.cc b/src/devices/grotty/tty.cc index b60f86a8..c44f627c 100644 --- a/src/devices/grotty/tty.cc +++ b/src/devices/grotty/tty.cc @@ -200,8 +200,8 @@ public: void set_char(int, font *, const environment *, int, const char *name); void draw(int code, int *p, int np, const environment *env); void special(char *arg, const environment *env, char type); - void change_color(const environment *env); - void change_fill_color(const environment *env); + void change_color(const environment * const env); + void change_fill_color(const environment * const env); void put_char(unsigned int); void put_color(char, int); void begin_page(int) { } @@ -436,12 +436,12 @@ void tty_printer::special(char *arg, const environment *env, char type) } } -void tty_printer::change_color(const environment *env) +void tty_printer::change_color(const environment * const env) { add_char(0, env->hpos, env->vpos, env->col, env->fill, COLOR_CHANGE); } -void tty_printer::change_fill_color(const environment *env) +void tty_printer::change_fill_color(const environment * const env) { add_char(0, env->hpos, env->vpos, env->col, env->fill, COLOR_CHANGE); } |