From a00f42a83b744157243829da91552ce813bb62d3 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Fri, 6 Jun 2014 18:28:39 +0200 Subject: [PATCH] Fixed return and removed ESC check --- tests/noise.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/noise.c b/tests/noise.c index 86b3fa6..e067a95 100644 --- a/tests/noise.c +++ b/tests/noise.c @@ -32,9 +32,11 @@ int main() state = mfb_update(s_buffer); - if (state < 0 || state == MFB_KEY_ESC) + if (state < 0) break; } mfb_close(); + + return 0; }