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 /Utils | |
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
Diffstat (limited to 'Utils')
-rw-r--r-- | Utils/Replace.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |