mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
I always forget Perl 5.004 doesn't have PL_na .. so, now I've declared for
5.004, and changed all STRLEN n_a code to use PL_na instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2238 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d4ee6fd604
commit
617123b5d4
10 changed files with 21 additions and 35 deletions
|
|
@ -65,7 +65,6 @@ static void perl_statusbar_event(char *function, SBAR_ITEM_REC *item,
|
|||
SPAGAIN;
|
||||
|
||||
if (SvTRUE(ERRSV)) {
|
||||
STRLEN n_a;
|
||||
PERL_SCRIPT_REC *script;
|
||||
char *package;
|
||||
|
||||
|
|
@ -77,7 +76,7 @@ static void perl_statusbar_event(char *function, SBAR_ITEM_REC *item,
|
|||
/* make sure we don't get back here */
|
||||
script_unregister_statusbars(script);
|
||||
}
|
||||
signal_emit("script error", 2, script, SvPV(ERRSV, n_a));
|
||||
signal_emit("script error", 2, script, SvPV(ERRSV, PL_na));
|
||||
} else {
|
||||
/* min_size and max_size can be changed, move them to SBAR_ITEM_REC */
|
||||
hv = hvref(item_sv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue