PATCH: silence ishelllink::SetShowCmd

Marcus Meissner meissner at suse.de
Tue Nov 12 04:44:21 CST 2002


Hi,

Ciao, Marcus

Changelog:
	Silence IShellLink::SetShowCmd for the case we support (#1080).

Index: dlls/shell32/shelllink.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shelllink.c,v
retrieving revision 1.47
diff -u -r1.47 shelllink.c
--- dlls/shell32/shelllink.c	31 Oct 2002 23:35:20 -0000	1.47
+++ dlls/shell32/shelllink.c	12 Nov 2002 10:43:26 -0000
@@ -1512,7 +1512,12 @@
 {
 	_ICOM_THIS_From_IShellLinkW(IShellLinkImpl, iface);
 
-	FIXME("(%p)->(showcmd=%x)\n",This, iShowCmd);
+	/* SW_SHOWNORMAL is the default ... The others would have 
+	 * to be somehow passed through the link file ... We can't 
+	 * do that currently.
+	 */
+	if (iShowCmd != SW_SHOWNORMAL)
+		FIXME("(%p)->(showcmd=%x)\n",This, iShowCmd);
 	return NOERROR;
 }
 



More information about the wine-patches mailing list