projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
03c53ea
)
Bug fix: Incorrect regex in document generator
author
Colin Clark
<colin.clark@cclark.uk>
Sat, 15 Jul 2023 15:33:39 +0000
(16:33 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Sat, 15 Jul 2023 15:33:39 +0000
(16:33 +0100)
doc/create-shortcuts-xml.sh
patch
|
blob
|
history
diff --git
a/doc/create-shortcuts-xml.sh
b/doc/create-shortcuts-xml.sh
index
b379704
..
4ea254b
100755
(executable)
--- a/
doc/create-shortcuts-xml.sh
+++ b/
doc/create-shortcuts-xml.sh
@@
-81,10
+81,10
@@
awk_window='BEGIN {
{FS=","}
while ($0 !~ /^hard_coded_window_keys/) {getline}
}
{FS=","}
while ($0 !~ /^hard_coded_window_keys/) {getline}
}
-$0~/
\{static_cast\<GdkModifierType\
>\(0\), 0/ {exit}
+$0~/
{static_cast<GdkModifierType
>\(0\), 0/ {exit}
{
{
-gsub(/
\{static_cast\<GdkModifierType\
>\(0\)/, "", $1);
-gsub(/
\{static_cast\<GdkModifierType\
>\(GDK_CONTROL_MASK \+ GDK_SHIFT_MASK\)/, "Ctrl + Shift +", $1);
+gsub(/
{static_cast<GdkModifierType
>\(0\)/, "", $1);
+gsub(/
{static_cast<GdkModifierType
>\(GDK_CONTROL_MASK \+ GDK_SHIFT_MASK\)/, "Ctrl + Shift +", $1);
gsub(/{GDK_CONTROL_MASK/, "Ctrl +", $1);
gsub(/{GDK_SHIFT_MASK/, "Shift +", $1);
gsub(/{GDK_MOD1_MASK/, "Alt +", $1);
gsub(/{GDK_CONTROL_MASK/, "Ctrl +", $1);
gsub(/{GDK_SHIFT_MASK/, "Shift +", $1);
gsub(/{GDK_MOD1_MASK/, "Alt +", $1);