diff options
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/fe-text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/fe-text.c b/src/fe-text/fe-text.c index a6749359..848a393b 100644 --- a/src/fe-text/fe-text.c +++ b/src/fe-text/fe-text.c @@ -208,7 +208,7 @@ fe_print_text (struct session *sess, char *text, time_t stamp, else col = 30; mirc = atoi (num); - mirc = colconv[mirc]; + mirc = colconv[mirc % G_N_ELEMENTS(colconv)]; if (mirc > 9) { mirc += 50; |