From: Krzesimir Nowak Date: Tue, 18 Sep 2012 10:52:28 +0000 (+0200) Subject: core: Zero should be a correct settings value. X-Git-Tag: RYGEL_0_17_0~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=962ebacf7794eb366fa1868c5d956013f160aafd;p=profile%2Fivi%2Frygel.git core: Zero should be a correct settings value. --- diff --git a/src/rygel/rygel-user-config.vala b/src/rygel/rygel-user-config.vala index 06efffd..a9ae1f3 100644 --- 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); }