projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9034f0c
)
core: Zero should be a correct settings value.
author
Krzesimir Nowak
<krnowak@openismus.com>
Tue, 18 Sep 2012 10:52:28 +0000
(12:52 +0200)
committer
Jens Georg
<jensg@openismus.com>
Wed, 26 Sep 2012 17:30:02 +0000
(19:30 +0200)
src/rygel/rygel-user-config.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-user-config.vala
b/src/rygel/rygel-user-config.vala
index
06efffd
..
a9ae1f3
100644
(file)
--- a/
src/rygel/rygel-user-config.vala
+++ b/
src/rygel/rygel-user-config.vala
@@
-243,7
+243,7
@@
public class Rygel.UserConfig : GLib.Object, Configuration {
}
}
- if (val
== 0 || val
< min || val > max) {
+ if (val < min || val > max) {
throw new ConfigurationError.VALUE_OUT_OF_RANGE
(_("Value of '%s' out of range"), key);
}