Fixed return and removed ESC check
This commit is contained in:
parent
d13f5e070b
commit
a00f42a83b
@ -32,9 +32,11 @@ int main()
|
|||||||
|
|
||||||
state = mfb_update(s_buffer);
|
state = mfb_update(s_buffer);
|
||||||
|
|
||||||
if (state < 0 || state == MFB_KEY_ESC)
|
if (state < 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
mfb_close();
|
mfb_close();
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user