Removed some warning messages.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@403 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-30 22:01:36 +00:00 committed by cras
commit 68994bd738
5 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -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);