deprecated glib strup/down fixes from exg.

git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5138 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Alexander Færøy 2010-04-03 20:09:37 +00:00 committed by ahf
commit 8728207191
13 changed files with 39 additions and 18 deletions

View file

@ -943,3 +943,21 @@ int parse_size(const char *size, int *bytes)
return TRUE;
}
char *ascii_strup(char *str)
{
char *s;
for (s = str; *s; s++)
*s = g_ascii_toupper (*s);
return str;
}
char *ascii_strdown(char *str)
{
char *s;
for (s = str; *s; s++)
*s = g_ascii_tolower (*s);
return str;
}