mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
File name completion for /DCC SEND
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@361 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f0d6ef99dc
commit
8fa6ca5e61
6 changed files with 153 additions and 10 deletions
|
|
@ -300,8 +300,8 @@ static GList *completion_joinlist(GList *list1, GList *list2)
|
|||
return list1;
|
||||
}
|
||||
|
||||
static void sig_word_complete(WINDOW_REC *window, const char *word,
|
||||
const char *linestart, GList **list)
|
||||
static void sig_word_complete(GList **list, WINDOW_REC *window,
|
||||
const char *word, const char *linestart)
|
||||
{
|
||||
IRC_SERVER_REC *server;
|
||||
CHANNEL_REC *channel;
|
||||
|
|
@ -309,7 +309,10 @@ static void sig_word_complete(WINDOW_REC *window, const char *word,
|
|||
const char *cmdchars, *nickprefix;
|
||||
char *prefix;
|
||||
|
||||
g_return_if_fail(list != NULL);
|
||||
g_return_if_fail(window != NULL);
|
||||
g_return_if_fail(word != NULL);
|
||||
g_return_if_fail(linestart != NULL);
|
||||
|
||||
server = window->active_server;
|
||||
if (server == NULL || !server->connected)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue