summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLWinGoo.pm
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-06-12 20:34:37 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-06-12 20:34:37 +0000
commit0c3e30b7fe8e93071282ca440d05b538d25481f1 (patch)
treeaaa11852ac2ebad04505e31a6cb005586f81d459 /Master/tlpkg/TeXLive/TLWinGoo.pm
parent2bc113c6f403e7665c9c62c91ae6839c63444350 (diff)
Win32: in case of searchpath problems, add dosbox shortcuts with TL
bin path prepended to normal path. git-svn-id: svn://tug.org/texlive/trunk@8696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLWinGoo.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLWinGoo.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLWinGoo.pm b/Master/tlpkg/TeXLive/TLWinGoo.pm
index 5107fe8c6c5..b868e75b2f7 100644
--- a/Master/tlpkg/TeXLive/TLWinGoo.pm
+++ b/Master/tlpkg/TeXLive/TLWinGoo.pm
@@ -868,7 +868,7 @@ sub add_desktop_shortcut {
$shc->{'IconLocation'} = $icon if -f $icon;
$shc->{'Path'} = $prog;
$shc->{'Arguments'} = $args;
- $shc->{'ShowCmd'} = SW_SHOWMINNOACTIVE if $batgui;
+ $shc->{'ShowCmd'} = $batgui ? SW_SHOWMINNOACTIVE : SW_SHOWNORMAL;
$shfile = desktop_path().'/'.$name.'.lnk';
$shc->Save($shfile);
@@ -901,7 +901,7 @@ sub add_menu_shortcut {
$shc->{'IconLocation'} = $icon if -f $icon;
$shc->{'Path'} = $prog;
$shc->{'Arguments'} = $args;
- $shc->{'ShowCmd'} = SW_SHOWMINNOACTIVE if $batgui;
+ $shc->{'ShowCmd'} = $batgui ? SW_SHOWMINNOACTIVE : SW_SHOWNORMAL;
$shpath = $place;
$shpath =~ s!\\!/!g;
$shpath = '/'.$shpath unless $shpath =~ m!^/!;