mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Make get_alignment() available outside special-vars.c
This commit is contained in:
parent
97a4ee78fd
commit
f1b5b515b9
2 changed files with 8 additions and 5 deletions
|
|
@ -27,10 +27,6 @@
|
|||
#include "misc.h"
|
||||
#include "utf8.h"
|
||||
|
||||
#define ALIGN_RIGHT 0x01
|
||||
#define ALIGN_CUT 0x02
|
||||
#define ALIGN_PAD 0x04
|
||||
|
||||
#define isvarchar(c) \
|
||||
(i_isalnum(c) || (c) == '_')
|
||||
|
||||
|
|
@ -317,7 +313,7 @@ static int get_alignment_args(char **data, int *align, int *flags, char *pad)
|
|||
}
|
||||
|
||||
/* return the aligned text */
|
||||
static char *get_alignment(const char *text, int align, int flags, char pad)
|
||||
char *get_alignment(const char *text, int align, int flags, char pad)
|
||||
{
|
||||
GString *str;
|
||||
char *ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue