Skip to content

Commit 99da81d

Browse files
ToxicFrogprogval
authored andcommitted
Fix control characters for underline and stroke being reversed
1 parent 64ff97c commit 99da81d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/format/irc2matrix.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,10 @@ defmodule M51.Format.Irc2Matrix do
346346
:italic
347347

348348
"\x1e" ->
349-
:underlined
349+
:stroke
350350

351351
"\x1f" ->
352-
:stroke
352+
:underlined
353353

354354
<<0x03, a, b, ?,, c, d>> ->
355355
{:color, color2hex((a - ?0) * 10 + (b - ?0)), color2hex((c - ?0) * 10 + (d - ?0))}

0 commit comments

Comments
 (0)