mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 19:22:22 -05:00
libsexy: last color parsing improvement
This commit is contained in:
parent
f342123d7f
commit
cf5e2f273f
@ -995,10 +995,8 @@ check_color:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (offset > 1) /* No colors but a , was added */
|
/* No colors but some commas may have been added */
|
||||||
insert_hiddenchar (entry, i - 2, i - 1);
|
insert_hiddenchar (entry, i - offset, i - offset + 1);
|
||||||
else
|
|
||||||
insert_hiddenchar (entry, i - 1, i);
|
|
||||||
insert_color (entry, i, -1, -1);
|
insert_color (entry, i, -1, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user