~ubuntu-branches/ubuntu/oneiric/irssi/oneiric

« back to all changes in this revision

Viewing changes to src/perl/textui/TextBuffer.xs

  • Committer: Bazaar Package Importer
  • Author(s): Christian Bjälevik
  • Date: 2007-04-28 02:52:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070428025201-2c4swxnpn4wr7fpg
Tags: 0.8.11-0ubuntu1
* New upstream release:
  - http://www.irssi.org/news/ChangeLog
* debian/{control,compat}:
  - Bump Standards.
* debian/patches/00list:
  - Disable 05upgrade-check-binary.patch, applied upstream.
  - Disable 08doublefree.patch, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        int coloring
76
76
PREINIT:
77
77
        GString *str;
 
78
        SV *result;
78
79
PPCODE:
79
80
        str = g_string_new(NULL);
80
81
        textbuffer_line2text(line, coloring, str);
81
 
        XPUSHs(sv_2mortal(new_pv(str->str)));
 
82
        result = new_pv(str->str);
 
83
        XPUSHs(sv_2mortal(result));
82
84
        g_string_free(str, TRUE);
83
85