From f03db62d2de2f91f79a08aa9da53e264a5e69ddc Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 20 Aug 2010 13:51:17 -0700 Subject: mark nodes created by "default" as "changed" --- src/cstore/cstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp index f146cb0..86a9455 100644 --- a/src/cstore/cstore.cpp +++ b/src/cstore/cstore.cpp @@ -2552,7 +2552,7 @@ Cstore::create_default_children() // has default value. set it. push_cfg_path(tcnodes[i]); if (!add_node() || !write_value(def.def_default) - || !mark_display_default()) { + || !mark_display_default() || !mark_changed()) { ret = false; } pop_cfg_path(); -- cgit v1.2.3