projects
/
apps
/
core
/
preloaded
/
indicator-win.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85bca17
)
module/clock/clock: Warning fix.
46/64546/2
accepted/tizen/mobile/20160406.015154
accepted/tizen/mobile/20160407.112457
submit/tizen_mobile/20160405.132551
submit/tizen_mobile/20160407.072146
author
Radoslaw Czerski
<r.czerski@samsung.com>
Fri, 1 Apr 2016 15:13:35 +0000
(17:13 +0200)
committer
Lukasz Stanislawski
<l.stanislaws@samsung.com>
Mon, 4 Apr 2016 10:03:19 +0000
(
03:03
-0700)
Change-Id: Icdf402b7a22d2e662af5d9b3b51a4b15ef767a7f
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
src/modules/clock/clock.c
patch
|
blob
|
history
diff --git
a/src/modules/clock/clock.c
b/src/modules/clock/clock.c
index
7164598
..
0c5af00
100644
(file)
--- a/
src/modules/clock/clock.c
+++ b/
src/modules/clock/clock.c
@@
-553,10
+553,10
@@
void indicator_get_time_by_region(char* output,void *data)
int32_t best_pattern_len, formatted_len;
if (clock_mode == INDICATOR_CLOCK_MODE_12H) {
- str
cpy(s_time_skeleton, "hm"
);
+ str
ncpy(s_time_skeleton, "hm", 2
);
}
else {
- str
cpy(s_time_skeleton, "Hm"
);
+ str
ncpy(s_time_skeleton, "Hm", 2
);
}
ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, &locale);