summaryrefslogtreecommitdiffstats
path: root/src/window_manager.cpp
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-01-05 21:22:03 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-01-16 11:44:05 +0100
commit1d0966212b15c0481b506ba35374935601b0c861 (patch)
tree4546aed44cc51b444008cfb450a06b3f338de803 /src/window_manager.cpp
parent05b4c23fbf153fee1c3bda1450c45d2c66b72bae (diff)
Fix misinterpreted return value
Also fix typo in error messages Change-Id: Ib023a43cdbb6b6442872abecb347940c703c5fde Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/window_manager.cpp')
-rw-r--r--src/window_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp
index 9537be7..288c967 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -802,7 +802,7 @@ void WindowManager::emitScreenUpdated(unsigned req_num)
int ret = afb_event_push(
this->map_afb_event[kListEventName[Event_ScreenUpdated]], j);
- if (ret != 0)
+ if (ret < 0)
{
HMI_DEBUG("afb_event_push failed: %m");
}