1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

Make struct strings const in underline mode setup and teardown.

This commit is contained in:
Kalle Olavi Niemitalo 2007-01-25 00:11:38 +02:00 committed by Kalle Olavi Niemitalo
parent c62e23c161
commit 11006800b5

View File

@ -93,7 +93,7 @@ static const struct string vt100_frame_seqs[] = {
/* begin border: */ TERM_STRING("\x0e"),
};
static struct string underline_seqs[] = {
static const struct string underline_seqs[] = {
/* begin underline: */ TERM_STRING("\033[24m"),
/* end underline: */ TERM_STRING("\033[4m"),
};
@ -123,7 +123,7 @@ struct screen_driver {
const struct string *frame_seqs;
/* The underline mode setup and teardown sequences. May be NULL. */
struct string *underline;
const struct string *underline;
/* The color mode */
enum color_mode color_mode;