diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-30 22:01:36 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-30 22:01:36 +0000 |
commit | 68994bd738b616f5c7d279ec775fd5cc959ff92f (patch) | |
tree | fe610e2523b7820c14eb0dd1db4a2b265bce89e9 /src/fe-common | |
parent | 30f4151e5173f228d8f8f84f67bf2078b157ac05 (diff) | |
download | irssi-68994bd738b616f5c7d279ec775fd5cc959ff92f.zip |
Removed some warning messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@403 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/completion.c | 2 | ||||
-rw-r--r-- | src/fe-common/irc/fe-events-numeric.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c index 03b9b121..4a62d4f6 100644 --- a/src/fe-common/core/completion.c +++ b/src/fe-common/core/completion.c @@ -146,7 +146,7 @@ char *word_complete(WINDOW_REC *window, const char *line, int *pos) BUT if we start completion with "/msg "<tab>, we don't want to complete the /msg word, but instead complete empty word with /msg being in linestart. */ - if (pos > 0 && line[*pos-1] == ' ') { + if (*pos > 0 && line[*pos-1] == ' ') { char *old; old = linestart; diff --git a/src/fe-common/irc/fe-events-numeric.c b/src/fe-common/irc/fe-events-numeric.c index 6d48988b..caceb4c5 100644 --- a/src/fe-common/irc/fe-events-numeric.c +++ b/src/fe-common/irc/fe-events-numeric.c @@ -21,6 +21,7 @@ #include "module.h" #include "module-formats.h" #include "signals.h" +#include "misc.h" #include "settings.h" #include "irc.h" @@ -437,7 +438,6 @@ static void event_whowas(const char *data, IRC_SERVER_REC *server) static void event_whois_channels(const char *data, IRC_SERVER_REC *server) { char *params, *nick, *chans; - GString *str; g_return_if_fail(data != NULL); |