shelllink correction
Aric Stewart
aric at codeweavers.com
Mon Aug 23 08:43:37 CDT 2004
As observed by Christian Costa,
make sure exePath contains the path since it is used later in the
function as well.
-aric
-------------- next part --------------
Index: dlls/shell32/shelllink.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shelllink.c,v
retrieving revision 1.71
diff -u -w -r1.71 shelllink.c
--- dlls/shell32/shelllink.c 20 Aug 2004 19:28:33 -0000 1.71
+++ dlls/shell32/shelllink.c 23 Aug 2004 13:42:30 -0000
@@ -689,8 +689,8 @@
* gave us
*/
if( !*exePath )
- This->pPidl = ILCreateFromPathW(This->sPath);
- else
+ strcpyW(exePath,This->sPath);
+
This->pPidl = ILCreateFromPathW(exePath);
}
More information about the wine-patches
mailing list