mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
- Compiling fixes
- GNOME version isn't anymore build here so you don't need all that GTK and GNOME crap to compile irssi-text. - Some fixes to compile with -ansi -pedantic git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
90ff30fcd0
commit
93d6032151
34 changed files with 524 additions and 535 deletions
|
|
@ -377,7 +377,7 @@ int match_wildcards(const char *cmask, const char *data)
|
|||
char *mask, *newmask, *p1, *p2;
|
||||
int ret;
|
||||
|
||||
newmask = mask = strdup(cmask);
|
||||
newmask = mask = g_strdup(cmask);
|
||||
for (; *mask != '\0' && *data != '\0'; mask++) {
|
||||
if (*mask == '?' || toupper(*mask) == toupper(*data)) {
|
||||
data++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue