Fixed return and removed ESC check

This commit is contained in:
Daniel Collin 2014-06-06 18:28:39 +02:00
parent d13f5e070b
commit a00f42a83b

View File

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