Skip to content

Commit

Permalink
Fix control characters for underline and stroke being reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicFrog committed Feb 15, 2024
1 parent 64ff97c commit 2aa0c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/format/irc2matrix.ex
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,10 @@ defmodule M51.Format.Irc2Matrix do
:italic

"\x1e" ->
:underlined
:stroke

"\x1f" ->
:stroke
:underlined

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

0 comments on commit 2aa0c5f

Please sign in to comment.