[waffle] [PATCH 08/33] core: return false on failure in waffle_window_resize
Emil Velikov
emil.l.velikov at gmail.com
Mon Jul 7 10:28:15 PDT 2014
The function return type is bool not *.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/waffle/api/waffle_window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/waffle/api/waffle_window.c b/src/waffle/api/waffle_window.c
index 207ef33..81f95f8 100644
--- a/src/waffle/api/waffle_window.c
+++ b/src/waffle/api/waffle_window.c
@@ -107,7 +107,7 @@ waffle_window_resize(
}
else {
wcore_error(WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM);
- return NULL;
+ return false;
}
}
--
2.0.0
More information about the waffle
mailing list