aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/compat/ml1_s.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkbdata.src/rules/compat/ml1_s.sh')
-rw-r--r--xorg-server/xkbdata.src/rules/compat/ml1_s.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/xorg-server/xkbdata.src/rules/compat/ml1_s.sh b/xorg-server/xkbdata.src/rules/compat/ml1_s.sh
index 210d1b655..327de2d9c 100644
--- a/xorg-server/xkbdata.src/rules/compat/ml1_s.sh
+++ b/xorg-server/xkbdata.src/rules/compat/ml1_s.sh
@@ -6,7 +6,11 @@ OUTFILE=base.ml1_s.part
> $OUTFILE
awk '{
- printf " * %s = pc+%s%%(v[1])\n", $1, $2;
+ if (index($2, "(") == 0) {
+ printf " * %s = pc+%s%%(v[1])\n", $1, $2;
+ } else {
+ printf " * %s = pc+%s\n", $1, $2;
+ }
}' < $INDIR/layoutRename.lst >> $OUTFILE
awk '{