diff options
author | carlosg <carlosg> | 2006-06-01 11:23:16 +0000 |
---|---|---|
committer | carlosg <carlosg> | 2006-06-01 11:23:16 +0000 |
commit | 763912e30fd278a35b810ef9ae44657590fe6803 (patch) | |
tree | 5db7c274fd6b05e1b2c7727a3892131d9ceea04f | |
parent | 55ea1be3118a67a562b5cf37cae904054006b05b (diff) |
2006-06-01 Carlos Garnacho <carlosg@gnome.org>
* Utils/Replace.pm (set_init_bool): inverse logic to allow values != 1
to be TRUE
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Utils/Replace.pm | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-06-01 Carlos Garnacho <carlosg@gnome.org> + + * Utils/Replace.pm (set_init_bool): inverse logic to allow values != 1 + to be TRUE + 2006-05-30 Carlos Garnacho <carlosg@gnome.org> * Network/Hosts.pm (run_hostname), (get_fqdn_replace_table) diff --git a/Utils/Replace.pm b/Utils/Replace.pm index 5fa81d1..7c9cd66 100644 --- a/Utils/Replace.pm +++ b/Utils/Replace.pm @@ -680,7 +680,7 @@ sub set_ini_bool { my ($file, $section, $var, $value) = @_; - $value = ($value == 1)? "yes": "no"; + $value = ($value == 0)? "no": "yes"; return &set_ini ($file, $section, $var, $value); } |