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/menu.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/menu.c')
-rw-r--r-- | src/graph/Gdraws/menu.c | 3 |
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)); |