projects
/
platform
/
framework
/
web
/
nwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e490c1f
)
Fix AppDB::GetKeys bug
author
Seungkeun Lee
<sngn.lee@samsung.com>
Thu, 14 May 2015 00:57:10 +0000
(09:57 +0900)
committer
Seungkeun Lee
<sngn.lee@samsung.com>
Thu, 14 May 2015 00:57:10 +0000
(09:57 +0900)
Change-Id: I4d586af03d0b53eafc49336fb90afb131016dd5a
src/common/app_db.cc
patch
|
blob
|
history
diff --git
a/src/common/app_db.cc
b/src/common/app_db.cc
index
322814a
..
b002b27
100755
(executable)
--- a/
src/common/app_db.cc
+++ b/
src/common/app_db.cc
@@
-66,7
+66,7
@@
void PreferenceAppDB::GetKeys(const std::string& section,
auto callback = [](const char* key, void *user_data) {
auto list = static_cast<std::list<std::string>*>(user_data);
if (utils::StartsWith(key, list->front())) {
- list->push_back(key);
+ list->push_back(key
+list->front().size()
);
}
return true;
};