projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c227dae
)
e_comp_wl_capture: fix failure case of return value.
90/221890/4
author
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 8 Jan 2020 04:23:41 +0000
(13:23 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Wed, 8 Jan 2020 09:07:55 +0000
(09:07 +0000)
Change-Id: I79bf43be90e3cbb72f1d992e24ed5abd9b927f3f
src/bin/e_comp_wl_capture.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_capture.c
b/src/bin/e_comp_wl_capture.c
index 0ed6b895791a6f4e2ded7faabc7d535543ae9344..36ab29658820d7669d0522d2fac34fc3482405ba 100644
(file)
--- a/
src/bin/e_comp_wl_capture.c
+++ b/
src/bin/e_comp_wl_capture.c
@@
-561,7
+561,7
@@
_e_capture_client_capture_with_video(Thread_Data *td)
_e_capture_client_main_composite(td, capture_image);
res = tbm_surface_internal_capture_buffer(capture_surface, td->image_dir, td->image_name, "png");
- if (
res != TBM_SURFACE_ERROR_NONE
)
+ if (
!res
)
{
ERR("Failed to capture buffer");
ret = EINA_FALSE;