From a380ef80c10514cf83d9bfb054f54c1c4e5baf4d Mon Sep 17 00:00:00 2001 From: Ramon Date: Sat, 12 Dec 2020 03:59:07 -0500 Subject: [PATCH] Missing closing parentheses for `if` statement (#113) Added a missing parenthesis to the if statement for the *iconId* example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7640aa8..b672eab 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ A set of custom handcrafted icons is provided in [`riconsdata`](src/riconsdata.h ``` To use any of those icons in your gui, just preprend *iconId* to any text written within `raygui` controls: ```c -if (GuiButton(rec, "#05#Open Image") { /* ACTION */ } +if (GuiButton(rec, "#05#Open Image")) { /* ACTION */ } ``` or use the provided `GuiIconText()` function to prepend it automatically, using a clearer identifier. ```c