summaryrefslogtreecommitdiff
path: root/geometry.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-09-23 20:15:13 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2007-09-23 20:15:13 +0200
commit829cb75130d1edd88fa1d33e277f49167daedacf (patch)
tree1eac332bfee7048c57a0b15349dc70a6b821a2c1 /geometry.c
parente8ffa513a109209849b11a3c608356cc28314a8e (diff)
Fixed a bunch of const correctness bugs.
Diffstat (limited to 'geometry.c')
-rw-r--r--geometry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/geometry.c b/geometry.c
index b6463cc..8e47d7e 100644
--- a/geometry.c
+++ b/geometry.c
@@ -740,7 +740,7 @@ ShapeInfo * si;
}
static ShapeInfo *
-FindShape(GeometryInfo *info,Atom name,char *type,char *which)
+FindShape(GeometryInfo *info, Atom name, const char *type, const char *which)
{
ShapeInfo * old;
@@ -1310,7 +1310,7 @@ SetShapeDoodadField( DoodadInfo * di,
GeometryInfo * info)
{
ExprResult tmp;
-char * typeName;
+const char *typeName;
typeName= (di->type==XkbSolidDoodad?"solid doodad":"outline doodad");
if ((!uStrCaseCmp(field,"corner"))||(!uStrCaseCmp(field,"cornerradius"))) {
@@ -1804,7 +1804,7 @@ ExprResult tmp;
static int
SetKeyField( KeyInfo *key,
- char *field,
+ const char *field,
ExprDef *arrayNdx,
ExprDef *value,
GeometryInfo *info)