diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-04-12 15:29:30 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-04-12 15:29:30 +0200 |
commit | acca17d142e6d53594e519b018eaa7c2b8456aef (patch) | |
tree | 3b6afd9ca01c25657bf93e64e05e7b212c46b0f6 /src | |
parent | ea3588a8d76062ee911f14201a9327453cbfdf92 (diff) | |
download | weechat-acca17d142e6d53594e519b018eaa7c2b8456aef.zip |
Fix display of perl errors (use tab to force empty prefix on message)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/scripts/perl/weechat-perl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index 5fef4e7c6..100b1a136 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -120,8 +120,8 @@ char *perl_weechat_code = " }" " return 0;" "}" - "$SIG{__WARN__} = sub { weechat::print(\"\", \"perl error: $_[0]\"); };" - "$SIG{__DIE__} = sub { weechat::print(\"\", \"perl error: $_[0]\"); };" + "$SIG{__WARN__} = sub { weechat::print(\"\", \"\tperl error: $_[0]\"); };" + "$SIG{__DIE__} = sub { weechat::print(\"\", \"\tperl error: $_[0]\"); };" }; |