projects
/
platform
/
core
/
uifw
/
libtdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
816e82e
)
helper: copy filename
37/172837/1
author
Boram Park
<boram1288.park@samsung.com>
Fri, 16 Mar 2018 05:57:43 +0000
(14:57 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Fri, 16 Mar 2018 05:57:43 +0000
(14:57 +0900)
Change-Id: I5d15a165ba482aad7b1280abd411035a6c57ae22
src/tdm_helper.c
patch
|
blob
|
history
diff --git
a/src/tdm_helper.c
b/src/tdm_helper.c
index 60a8daf18be6c03da2353cc6807335ed09e80a7b..2e00648289364501725996d908354a7af145bde7 100644
(file)
--- a/
src/tdm_helper.c
+++ b/
src/tdm_helper.c
@@
-291,6
+291,11
@@
tdm_helper_dump_buffer(tbm_surface_h buffer, const char *file)
strncat(p, ext, 3);
p += 3;
*p = '\0';
+ } else {
+ len = strnlen(file, TDM_PATH_LEN - 1);
+ strncat(p, file, len);
+ p += len;
+ *p = '\0';
}
tdm_helper_get_buffer_full_size(buffer, &bw, &bh);