From 829cb75130d1edd88fa1d33e277f49167daedacf Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 23 Sep 2007 20:15:13 +0200 Subject: Fixed a bunch of const correctness bugs. --- keycodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keycodes.c') diff --git a/keycodes.c b/keycodes.c index 6b2fdd8..a86592e 100644 --- a/keycodes.c +++ b/keycodes.c @@ -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"; -- cgit v1.2.3