Module: wine
Branch: master
Commit: c6d9577017946c33f78db51f82af9e657d13d15d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c6d9577017946c33f78db51…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Tue Aug 15 19:48:08 2006 +0200
ntdll: Default to native loadorder for the main exe if not in system directory.
Unlike dlls, executables can have the same name without necessarily
being the same application, so defaulting to native is more likely to
do the right thing.
---
dlls/ntdll/loadorder.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/loadorder.c b/dlls/ntdll/loadorder.c
index ecc0cab..c31b633 100644
--- a/dlls/ntdll/loadorder.c
+++ b/dlls/ntdll/loadorder.c
@@ -474,9 +474,17 @@ enum loadorder get_load_order( const WCH
if (basename != module+1 && ((ret = get_load_order_value( std_key, app_key, basename )) != LO_INVALID))
goto done;
+ /* if loading the main exe with an explicit path, try native first */
+ if (!app_name && basename != module+1)
+ {
+ ret = LO_NATIVE_BUILTIN;
+ TRACE( "got main exe default %s for %s\n", debugstr_loadorder(ret), debugstr_w(path) );
+ goto done;
+ }
+
/* and last the hard-coded default */
ret = LO_DEFAULT;
- TRACE( "got hardcoded default %s for %s\n", debugstr_loadorder(ret), debugstr_w(path) );
+ TRACE( "got hardcoded %s for %s\n", debugstr_loadorder(ret), debugstr_w(path) );
done:
RtlFreeHeap( GetProcessHeap(), 0, module );
Module: wine
Branch: master
Commit: 5d264f2212c1844ae053c83c03f09108625baf33
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=5d264f2212c1844ae053c83…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Date: Tue Aug 15 15:36:09 2006 +0200
winecfg: Improve wording of virtual desktop explanation.
---
programs/winecfg/En.rc | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/winecfg/En.rc b/programs/winecfg/En.rc
index 4184501..3884d7b 100644
--- a/programs/winecfg/En.rc
+++ b/programs/winecfg/En.rc
@@ -70,8 +70,7 @@ BEGIN
IDC_STATIC,15,37,228,80
CONTROL "Allow the window manager to control the windows",IDC_ENABLE_MANAGED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,111,230,8
- /* FIXME: the wording of this explanation could be a lot better */
- LTEXT "You can choose to emulate a windows desktop, where all the windows are confined to one 'virtual screen', or you can have the windows placed on your standard desktop.",
+ LTEXT "You can either choose to have all Windows applications confined to a single window acting as a virtual desktop, or to have them behave like your other applications.",
IDC_STATIC,15,125,228,28
LTEXT "Desktop size:",IDC_DESKTOP_SIZE,15,167,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,167,8,8,WS_DISABLED