summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-04-12 15:29:30 +0200
committerSebastien Helleu <flashcode@flashtux.org>2010-04-12 15:29:30 +0200
commitacca17d142e6d53594e519b018eaa7c2b8456aef (patch)
tree3b6afd9ca01c25657bf93e64e05e7b212c46b0f6 /src
parentea3588a8d76062ee911f14201a9327453cbfdf92 (diff)
downloadweechat-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.c4
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]\"); };"
};