From 011c65a31356c33a8f3b406f6cf57da41e21756e Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Wed, 4 Aug 2010 18:52:35 +0100 Subject: some stuff with colour popups --- colour-popup/colour_popup.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 colour-popup/colour_popup.pl (limited to 'colour-popup') diff --git a/colour-popup/colour_popup.pl b/colour-popup/colour_popup.pl old mode 100644 new mode 100755 index b12c4f6..037d106 --- a/colour-popup/colour_popup.pl +++ b/colour-popup/colour_popup.pl @@ -5,7 +5,7 @@ # # usage: # -# after loading the script, add the statusbar item somewhere convenient: +# after loading the script, add the statusbar item somewhere convenient: # /statusbar window add -after barstart colours # @@ -21,7 +21,7 @@ $VERSION = "1.0"; name => "mirc_colour_popup", description => "Shows a mIRC-style colour popup when you hit ^C.", license => "Public Domain", - changed => "9.26.2008", + changed => "31/7/2010", ); @@ -36,7 +36,7 @@ sub colours_sb { if( $vis ) { $txt = join " ", map { "\%$colours[$_]$_" } 0 .. 15; } - $item->default_handler($get_size_only, "{sb $txt}", undef, 1); + $item->default_handler($get_size_only, "\%0{sb $txt}", undef, 1); } -- cgit v1.2.3