oleview: Fix compilation with PSDK.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
This commit is contained in:
parent
9c87c7e76d
commit
edb35ff096
|
@ -422,7 +422,7 @@ static int MenuCommand(WPARAM wParam, HWND hWnd)
|
|||
LoadStringW(globals.hMainInst, IDS_OPEN, wszTitle, sizeof(wszTitle)/sizeof(wszTitle[0]));
|
||||
LoadStringW(globals.hMainInst, IDS_OPEN_FILTER_TYPELIB, filter_typelib, sizeof(filter_typelib)/sizeof(WCHAR));
|
||||
LoadStringW(globals.hMainInst, IDS_OPEN_FILTER_ALL, filter_all, sizeof(filter_all)/sizeof(WCHAR));
|
||||
snprintfW( filter, MAX_PATH, filterW, filter_typelib, 0, 0, filter_all, 0, 0 );
|
||||
wsprintfW( filter, filterW, filter_typelib, 0, 0, filter_all, 0, 0 );
|
||||
InitOpenFileName(hWnd, &ofn, filter, wszTitle, wszName);
|
||||
if(GetOpenFileNameW(&ofn)) CreateTypeLibWindow(globals.hMainInst, wszName);
|
||||
break;
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
|
|
Loading…
Reference in New Issue