diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-09-23 20:15:13 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-09-23 20:15:13 +0200 |
commit | 829cb75130d1edd88fa1d33e277f49167daedacf (patch) | |
tree | 1eac332bfee7048c57a0b15349dc70a6b821a2c1 /geometry.c | |
parent | e8ffa513a109209849b11a3c608356cc28314a8e (diff) |
Fixed a bunch of const correctness bugs.
Diffstat (limited to 'geometry.c')
-rw-r--r-- | geometry.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |