summaryrefslogtreecommitdiff
blob: 6842a21f25c7ac191e229dac992590c33c15d73f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- fvwm-menu-directory.in.old	2003-12-11 11:39:10.000000000 +0000
+++ fvwm-menu-directory.in	2003-12-11 11:39:55.000000000 +0000
@@ -259,6 +259,7 @@
 	$name =~ s/%/%%/g;
 	$name =~ s/&/&&/g;
 	$name =~ s/\*/**/g;
+	$name =~ s/\n/\?/g;
 	$name;
 }
 
@@ -267,6 +268,7 @@
 	$name =~ s/\\/\\\\/g;
 	$name =~ s/"/\\"/g;
 	$name =~ s/\$/\\\$\$/g;
+	$name =~ s/\n/\"\?\"/g;
 	$name;
 }