emulator_option: fixed variable overwritten problem
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Sat, 20 Jun 2015 08:24:12 +0000 (17:24 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 22 Jun 2015 05:30:18 +0000 (14:30 +0900)
Change-Id: I1cd39df5745690d3c0b3ab54cd5eec8ecfcee0f8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/src/emulator_options.c

index 92d725a52ba52ee5e183ee9f01dff7e2fea3fb0b..19cd12dea1663002477f7c22989fcf6bc8d61397 100644 (file)
@@ -298,9 +298,9 @@ bool load_conf(const char * const conf)
                 {
                     gchar **splitted = g_strsplit(token, "=", 2);
                     if (splitted[0] && splitted[1]) {
-                        // FIXME: we override previous value if already exist.
+                        // FIXME: we don't override previous value if already exist.
                         // We should warn to users.
-                        set_variable(splitted[0], splitted[1], true);
+                        set_variable(splitted[0], splitted[1], false);
                     }
                     g_strfreev(splitted);