mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Avoid using uninitalized values.
This commit is contained in:
parent
9fd1e2f5da
commit
6e45d68399
3 changed files with 4 additions and 4 deletions
|
|
@ -82,7 +82,7 @@ char *expand_emphasis(WI_ITEM_REC *item, const char *text)
|
|||
continue;
|
||||
if (!ishighalnum(end[-1]) || ishighalnum(end[1]) ||
|
||||
end[1] == type || end[1] == '*' || end[1] == '_' ||
|
||||
(type == 29 && end[1] != NULL && ishighalnum(end[2])))
|
||||
(type == 29 && end[1] != '\0' && ishighalnum(end[2])))
|
||||
continue;
|
||||
|
||||
if (IS_CHANNEL(item)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue