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/data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graph/Gdraws/data.c') diff --git a/src/graph/Gdraws/data.c b/src/graph/Gdraws/data.c index d3f58173..e448f18d 100644 --- a/src/graph/Gdraws/data.c +++ b/src/graph/Gdraws/data.c @@ -47,12 +47,12 @@ Gdraws_data(int dFlag) static Vertex vlist[5]; static int vcount = 5; static int x0, y0, x1, y1; - static char *str = "This is a text string."; + static const char* str = "This is a text string."; static int x, y; static int FirstTime = yes; static int Rx, Ry, Rwidth, Rheight; static int Ix, Iy; - static char *Istr = "Image text string."; + static const char* Istr = "Image text string."; static XPoint points[7]; static XPoint p1[7]; static int np1 = 7; -- cgit v1.2.3