diff options
Diffstat (limited to 'msys2-package.sh')
-rwxr-xr-x | msys2-package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msys2-package.sh b/msys2-package.sh index 363c36a..27729bb 100755 --- a/msys2-package.sh +++ b/msys2-package.sh @@ -15,7 +15,7 @@ txt2rtf() { print "{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0 Tahoma;}}" print "\\f0\\fs24{\\pard\\sa240" } { - gsub(/\\/, "\\\\"); gsub(/{/, "\\{"); gsub(/}/, "\\}") + gsub(/\\/, "\\\\"); gsub(/[{]/, "\\{"); gsub(/[}]/, "\\}") if (!$0) { print "\\par}{\\pard\\sa240"; prefix = "" } else { print prefix $0; prefix = " " } } END { |