diff --git a/main.cpp b/main.cpp index 142851b..e0d5413 100644 --- a/main.cpp +++ b/main.cpp @@ -303,7 +303,7 @@ void Print(int x, int y, const char* text) { } } -bool Button(int x, int y, char* text) { +bool Button(int x, int y, const char* text) { bool inside = (mouse.x >= x) && (mouse.y >= y) && (mouse.x < x + 55) && (mouse.y < y + 12); if (inside) { FillRect(x, y, 55, 13, 128, 64, 64, 255);