mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
A few fixes to make irssi work with garbage collected GLIB.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0743ce0e39
commit
bb55d3ff4d
4 changed files with 12 additions and 4 deletions
|
|
@ -87,7 +87,8 @@ static char *textbuffer_line_get_format(WINDOW_REC *window, LINE_REC *line,
|
|||
text = (const unsigned char *) line->text;
|
||||
|
||||
/* skip the beginning of the line until we find the format */
|
||||
g_free(line_read_format(&text));
|
||||
format_name = line_read_format(&text);
|
||||
g_free(format_name);
|
||||
if (text[1] == LINE_CMD_FORMAT_CONT) {
|
||||
if (raw != NULL) {
|
||||
g_string_append_c(raw, '\0');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue