summaryrefslogtreecommitdiff
path: root/vmod.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 /vmod.c
parente8ffa513a109209849b11a3c608356cc28314a8e (diff)
downloadxorg-app-xkbcomp-829cb75130d1edd88fa1d33e277f49167daedacf.tar.gz
Fixed a bunch of const correctness bugs.
Diffstat (limited to 'vmod.c')
-rw-r--r--vmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vmod.c b/vmod.c
index 6d9628c..9a8bd0d 100644
--- a/vmod.c
+++ b/vmod.c
@@ -90,7 +90,8 @@ Atom stmtName;
if (stmt->value==NULL)
return True;
else {
- char *str1,*str2 = "";
+ char *str1;
+ const char *str2 = "";
if (!ExprResolveModMask(stmt->value,&mod,NULL,NULL)) {
str1= XkbAtomText(NULL,stmt->name,XkbMessage);
ACTION1("Declaration of %s ignored\n",str1);