projects
/
platform
/
core
/
appfw
/
app-installers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0692894
)
Fix issue with missing xml:lang attribute
53/54253/2
author
Lukasz Wysocki
<l.wysocki@samsung.com>
Mon, 14 Dec 2015 10:04:33 +0000
(11:04 +0100)
committer
Lukasz Wysocki
<l.wysocki@samsung.com>
Mon, 14 Dec 2015 10:32:09 +0000
(11:32 +0100)
Change-Id: Id9bebf76e6e1f71796d74d80655618751f7ccede
src/wgt/step/step_parse.cc
patch
|
blob
|
history
diff --git
a/src/wgt/step/step_parse.cc
b/src/wgt/step/step_parse.cc
index
23266e1
..
ef4b1b2
100644
(file)
--- a/
src/wgt/step/step_parse.cc
+++ b/
src/wgt/step/step_parse.cc
@@
-140,7
+140,7
@@
bool StepParse::FillWidgetInfo(manifest_x* manifest) {
description_x* description = reinterpret_cast<description_x*>
(calloc(1, sizeof(description_x)));
description->text = strdup(item.second.c_str());
- description->lang =
item.first.c_str
() ?
+ description->lang =
!item.first.empty
() ?
strdup(item.first.c_str()) : strdup(DEFAULT_LOCALE);
manifest->description = g_list_append(manifest->description, description);
}