[SHELL32] - Load iCmdShow value from .lnk files
authorRafal Harabien <rafalh@reactos.org>
Sun, 20 Nov 2011 14:02:48 +0000 (14:02 +0000)
committerRafal Harabien <rafalh@reactos.org>
Sun, 20 Nov 2011 14:02:48 +0000 (14:02 +0000)
svn path=/trunk/; revision=54454

reactos/dll/win32/shell32/shelllink.cpp

index fa0a251..6d323fe 100644 (file)
@@ -588,6 +588,7 @@ HRESULT WINAPI ShellLink::Load(IStream *stm)
     HeapFree(GetProcessHeap(), 0, sComponent);
     sComponent = NULL;
 
+    iShowCmd = hdr.fStartup;
     wHotKey = (WORD)hdr.wHotKey;
     iIcoNdx = hdr.nIcon;
     FileTimeToSystemTime (&hdr.Time1, &time1);