aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-05 05:27:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-05 05:27:26 +0000
commitdab2df82beaa06784e17f752ad5e614d1c6b6814 (patch)
tree1a3919130010512953b9587ee4a7fd457c0b3395
parent827f2dd3db2618583e64e84339357ff3c16aab4d (diff)
downloadrpmdrake-dab2df82beaa06784e17f752ad5e614d1c6b6814.tar
rpmdrake-dab2df82beaa06784e17f752ad5e614d1c6b6814.tar.gz
rpmdrake-dab2df82beaa06784e17f752ad5e614d1c6b6814.tar.bz2
rpmdrake-dab2df82beaa06784e17f752ad5e614d1c6b6814.tar.xz
rpmdrake-dab2df82beaa06784e17f752ad5e614d1c6b6814.zip
Typos
-rwxr-xr-xrpmdrake10
1 files changed, 5 insertions, 5 deletions
diff --git a/rpmdrake b/rpmdrake
index 094ee0bc..1a6753c8 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -47,15 +47,15 @@ use common;
use rpmdrake;
use gurpm;
-#- dirty stuff needed because text printed by gtk2 will always be encoded
-#- in UTF-8; we first check if LC_ALL is defiend, because if it is,
-#- changinf LC_COLLATE alone will have no effect.
+#- This is needed because text printed by Gtk2 will always be encoded
+#- in UTF-8; we first check if LC_ALL is defined, because if it is,
+#- changing only LC_COLLATE will have no effect.
use POSIX;
use locale;
my $collation_locale = $ENV{LC_ALL};
if ($collation_locale) {
- $collation_locale =~ /UTF-8/ or setlocale(LC_ALL, "$collation_locale.UTF-8"); }
-else {
+ $collation_locale =~ /UTF-8/ or setlocale(LC_ALL, "$collation_locale.UTF-8");
+} else {
$collation_locale = setlocale(LC_COLLATE);
$collation_locale =~ /UTF-8/ or setlocale(LC_COLLATE, "$collation_locale.UTF-8");
};