mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
Replace g_strdup+g_str{up,down} with g_ascii_str{up,down}.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4721 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
40f7904a1a
commit
af3b0b2b93
4 changed files with 4 additions and 8 deletions
|
|
@ -720,8 +720,7 @@ static void dcc_chat_msg(CHAT_DCC_REC *dcc, const char *msg)
|
|||
ptr = strchr(cmd, ' ');
|
||||
if (ptr != NULL) *ptr++ = '\0'; else ptr = "";
|
||||
|
||||
cmd = g_strdup(cmd);
|
||||
g_strup(cmd);
|
||||
cmd = g_ascii_strup(cmd, -1);
|
||||
|
||||
g_strdown(event+9);
|
||||
if (!signal_emit(event, 2, dcc, ptr)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue