aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase3/files
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2006-02-03 11:04:36 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2006-02-03 11:04:36 +0000
commit3f0972407640edc461ca98511a010bbea29691f5 (patch)
tree8d2674b34a00dbadb123e2a03d7e6fe5c6fe9848 /x11/kdebase3/files
parentea33fe5ff375ae8e1a7bc407dbfce7edeb3fb6b9 (diff)
downloadports-3f0972407640edc461ca98511a010bbea29691f5.tar.gz
ports-3f0972407640edc461ca98511a010bbea29691f5.zip
Notes
Diffstat (limited to 'x11/kdebase3/files')
-rw-r--r--x11/kdebase3/files/patch-kxkb-rules.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/kdebase3/files/patch-kxkb-rules.cpp b/x11/kdebase3/files/patch-kxkb-rules.cpp
new file mode 100644
index 000000000000..03baa696dcce
--- /dev/null
+++ b/x11/kdebase3/files/patch-kxkb-rules.cpp
@@ -0,0 +1,20 @@
+--- kxkb/rules.cpp (revision 504758)
++++ kxkb/rules.cpp (working copy)
+@@ -300,7 +300,7 @@
+ */
+ const QString KeyRules::getLayout(const QString &layvar) const
+ {
+- static const char* LAYOUT_PATTERN = "[a-z0-9_-]*";
++ static const char* LAYOUT_PATTERN = "[a-zA-Z0-9_-]*";
+ QString varLine = layvar.stripWhiteSpace();
+ QRegExp rx(LAYOUT_PATTERN);
+ int pos = rx.search(varLine, 0);
+@@ -318,7 +318,7 @@
+ */
+ const QString KeyRules::getVariant(const QString &layvar) const
+ {
+- static const char* VARIANT_PATTERN = "\\([a-z0-9_-]*\\)";
++ static const char* VARIANT_PATTERN = "\\([a-zA-Z0-9_-]*\\)";
+ QString varLine = layvar.stripWhiteSpace();
+ QRegExp rx(VARIANT_PATTERN);
+ int pos = rx.search(varLine, 0);