Missing closing parentheses for if statement (#113)

Added a missing parenthesis to the if statement for the *iconId* example.
This commit is contained in:
Ramon
2020-12-12 03:59:07 -05:00
committed by GitHub
parent 7eda4008e2
commit a380ef80c1

View File

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