diff --git a/README.md b/README.md index ea7daee..3fd28c8 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,9 @@ int main() if (showMessageBox) { - int result = GuiMessageBox((Rectangle){ 85, 70, 250, 100 }, "#191#Message Box", "Hi! This is a message!", "Nice;Cool"); + int result = GuiMessageBox((Rectangle){ 85, 70, 250, 100 }, + "#191#Message Box", "Hi! This is a message!", "Nice;Cool"); + if (result >= 0) showMessageBox = false; }