Fixed return and removed ESC check
This commit is contained in:
1 parent
d13f5e070b
commit
a00f42a83b
1 file changed
+3
-1
+3
-1
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user