fvwm2/fvwm-2.5.19-sec-fvwmname.patch

12 lines
546 B
Diff

--- bin/fvwm-menu-directory.in
+++ bin/fvwm-menu-directory.in
@@ -279,7 +279,7 @@
my $itemStr = $dir && $itemF_eval? &evalItem($_name, $dir): $_name;
$itemStr = escapeItemName($itemStr);
my $act = !$dir || $checkSubdirs && !-x $dir? "Nop": !$reuse?
- qq(Popup ") . escapeFvwmName($dir) . qq("$submenuPos):
+ qq(Popup ") . escapeFileName($dir) . qq("$submenuPos):
qq(PipeRead 'echo ") . escapeFileName($dir) . qq(" >$dirFile; )
. qq(echo Menu ") . escapeFvwmName($name) . qq(" WarpTitle');
return qq(+ "$iconDStr$itemStr" $act\n);