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:
8718b79
)
e_comp_wl_capture: fix failure case of return value.
12/221912/2
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:26 +0000
(09:07 +0000)
Change-Id: If7505c991fd56035c67b50ab3121aa910b92968b
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 a8db50c768c58445ee91044530ba69f40424a3df..81b40faff1f82e7d1f102b84768e39942e969b84 100644
(file)
--- a/
src/bin/e_comp_wl_capture.c
+++ b/
src/bin/e_comp_wl_capture.c
@@
-557,7
+557,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;