Package: irssi-scripts
Severity: normal
Version: 20050609
Tags: patch

-!- Irssi: warning settings_get_default_str(term_type) : unknown setting
-!- Irssi: warning settings_get(term_type) : not found
-!- Irssi: Loaded script trackbar

This is fixed by the following patch:

--- /usr/share/irssi/scripts/trackbar.pl        2004-04-25 14:32:36.000000000 
+0200
+++ trackbar.pl 2005-12-16 16:45:09.427163352 +0100
@@ -80,7 +80,7 @@
 );

 our %config;
-$config{'term_utf8'} = lc(Irssi::settings_get_str('term_type')) eq 'utf-8';
+$config{'term_utf8'} = lc(Irssi::settings_get_str('term_charset')) eq 'utf-8';

 # UTF-8 char 9476 is "box drawings light triple dash horizontal".
 Irssi::settings_add_str('trackbar',
@@ -93,7 +93,7 @@
 Irssi::signal_add(
     'setup changed' => sub {
         $config{'term_utf8'} =
-          lc(Irssi::settings_get_str('term_type')) eq 'utf-8';
+          lc(Irssi::settings_get_str('term_charset')) eq 'utf-8';
         $config{'trackbar_string'} = 
Irssi::settings_get_str('trackbar_string');
         $config{'trackbar_style'}  = Irssi::settings_get_str('trackbar_style');
         if ($config{'trackbar_style'} =~ /(?<!%)[^%]|%%|%$/) {


Thanks, Christoph


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to