aboutsummaryrefslogtreecommitdiff
path: root/src/graph/Gdraws/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/Gdraws/menu.c')
-rw-r--r--src/graph/Gdraws/menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graph/Gdraws/menu.c b/src/graph/Gdraws/menu.c
index 7380065a..91443a60 100644
--- a/src/graph/Gdraws/menu.c
+++ b/src/graph/Gdraws/menu.c
@@ -42,7 +42,8 @@ extern GC gc;
void
Gdraws_draw_menu(Window menu, char *str, int width, int height)
{
- char *str1 = "y e s", *str2 = "n o";
+ const char* str1 = "y e s";
+ const char* str2 = "n o";
int x0=0, y0=0;
XDrawString(dsply, menu, gc, 30, height/4+3, str, strlen(str));