diff options
author | dos-reis <gdr@axiomatics.org> | 2012-08-26 20:27:00 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2012-08-26 20:27:00 +0000 |
commit | 50731b6737c4ec7ef2f5be7eca44a5e7692d305a (patch) | |
tree | 9ca4458f507b8ef9bb4141b450e6708f523c5e26 /src/graph/Gdraws/data.c | |
parent | 5d206512273e528a4b3c863a7556f26f8c1c59de (diff) | |
download | open-axiom-50731b6737c4ec7ef2f5be7eca44a5e7692d305a.tar.gz |
* 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.
Diffstat (limited to 'src/graph/Gdraws/data.c')
-rw-r--r-- | src/graph/Gdraws/data.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |