mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in some
systems, use our own is_...() functions now instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
820c9d3d82
commit
f4897860b5
35 changed files with 112 additions and 95 deletions
|
|
@ -332,7 +332,7 @@ static char *theme_format_expand_abstract(THEME_REC *theme,
|
|||
NULL, NULL, flags);
|
||||
len = strlen(data);
|
||||
|
||||
if (len > 1 && isdigit(data[len-1]) && data[len-2] == '$') {
|
||||
if (len > 1 && i_isdigit(data[len-1]) && data[len-2] == '$') {
|
||||
/* ends with $<digit> .. this breaks things if next
|
||||
character is digit or '-' */
|
||||
char digit, *tmp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue