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 /keycodes.c | |
parent | e8ffa513a109209849b11a3c608356cc28314a8e (diff) |
Fixed a bunch of const correctness bugs.
Diffstat (limited to 'keycodes.c')
-rw-r--r-- | keycodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,7 +147,7 @@ AddIndicatorName(KeyNamesInfo *info,IndicatorNameInfo *new) { IndicatorNameInfo *old; Bool replace; -char * action; +const char *action; replace= (new->defs.merge==MergeReplace)|| (new->defs.merge==MergeOverride); @@ -200,7 +200,7 @@ char * action; if ((old->name==new->name)&&(old->virtual==new->virtual)) action= "Identical definitions ignored\n"; else { - char *oldType,*newType; + const char *oldType,*newType; Atom using,ignoring; if (old->virtual) oldType= "virtual indicator"; else oldType= "real indicator"; |