From 50731b6737c4ec7ef2f5be7eca44a5e7692d305a Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sun, 26 Aug 2012 20:27:00 +0000 Subject: * graph/Gdraws/Gfun.c (GDrawLine): Make string parameter of type const char*. (GDrawPushButton): Likewise. (GDrawString): Likewise. (PSCreateContext): Likewise. (centerX): Likewise. * Makefile.am (all-graph): Require all-utils. --- src/graph/Gdraws/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/graph/Gdraws/menu.c') 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)); -- cgit v1.2.3