mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
added format_real_length()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1380 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4d5da596c9
commit
7ced2beab4
2 changed files with 45 additions and 2 deletions
|
|
@ -44,6 +44,10 @@ int format_find_tag(const char *module, const char *tag);
|
|||
|
||||
/* Return length of text part in string (ie. without % codes) */
|
||||
int format_get_length(const char *str);
|
||||
/* Return how many characters in `str' must be skipped before `len'
|
||||
characters of text is skipped. Like strip_real_length(), except this
|
||||
handles %codes. */
|
||||
int format_real_length(const char *str, int len);
|
||||
|
||||
char *format_get_text(const char *module, WINDOW_REC *window,
|
||||
void *server, const char *target,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue