Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint-1.5.6' into maint-1.6.0
[gitweb.git]
/
git-gui
/
po
/
po2msg.sh
diff --git
a/git-gui/po/po2msg.sh
b/git-gui/po/po2msg.sh
index b7c4bf3fdffb3d04b8c01b25e99a706e499de0d1..1e9f992528153fa62c167db8f8e8c184e7df86bd 100644
(file)
--- a/
git-gui/po/po2msg.sh
+++ b/
git-gui/po/po2msg.sh
@@
-11,8
+11,8
@@
proc u2a {s} {
foreach i [split $s ""] {
scan $i %c c
if {$c<128} {
- # escape '[', '\' and ']'
- if {$c == 0x5b || $c == 0x5d} {
+ # escape '[', '\'
, '$'
and ']'
+ if {$c == 0x5b || $c == 0x5d
|| $c == 0x24
} {
append res "\\"
}
append res $i