Группа :: Графические оболочки/KDE
Пакет: kdeaddons
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: kdeaddons-3.1.4-knewsticker-stock.pl.patch
--- kdeaddons-3.1.4/knewsticker-scripts/stock.pl~ 2003-09-18 16:56:29 +0400
+++ kdeaddons-3.1.4/knewsticker-scripts/stock.pl 2003-09-18 16:54:11 +0400
@@ -98,7 +98,7 @@
# Override LWP's 120 second timeout, throw error if we time out
# Set this pretty short if using as a server-side exec
#
-exit 110; unless ($quote->timeout(10));
+exit 110 unless ($quote->timeout(10));
# Load the quotes hash for getting data
@@ -246,8 +246,7 @@
$name = $key; # Need to save $key for hash lookups
$name =~ s/^[a-z]_//; # Get rid of sorting characters
$name =~ s/_/ /g; # Get rid of underscores
- $data{$key} = "N/A" if ($data{$key} eq ""); # Don't show empty
- values
+ $data{$key} = "N/A" if ($data{$key} eq ""); # Don't show empty values
# We want at least two decimal places in some fields
#