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; }