mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Cleaned up printtext.c, split part of it to formats.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8653c6ea36
commit
4dcbe05c0f
46 changed files with 733 additions and 632 deletions
|
|
@ -30,6 +30,8 @@
|
|||
#include "irc-channels.h"
|
||||
#include "nicklist.h"
|
||||
|
||||
#include "printtext.h"
|
||||
|
||||
static char *last_away_nick = NULL;
|
||||
static char *last_away_msg = NULL;
|
||||
|
||||
|
|
@ -96,10 +98,10 @@ static void display_sorted_nicks(CHANNEL_REC *channel, GSList *nicklist, gint it
|
|||
memset(linebuf, ' ', max);
|
||||
nickmode[0] = rec->op ? '@' : rec->voice ? '+' : ' ';
|
||||
memcpy(linebuf, rec->nick, strlen(rec->nick));
|
||||
ret = output_format_get_text(MODULE_NAME, NULL,
|
||||
channel->server, channel->name,
|
||||
IRCTXT_NAMES_NICK, nickmode, linebuf);
|
||||
g_string_append(str, ret);
|
||||
ret = format_get_text(MODULE_NAME, NULL,
|
||||
channel->server, channel->name,
|
||||
IRCTXT_NAMES_NICK, nickmode, linebuf);
|
||||
g_string_append(str, ret);
|
||||
g_free(ret);
|
||||
cols++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue