[INCLUDE/REACTOS]

* Fix GCC build.

svn path=/branches/shell-experiments/; revision=65149
This commit is contained in:
Amine Khaldi
2014-10-31 15:32:05 +00:00
parent 6581292e05
commit 88ae5a3afe
+4 -3
View File
@@ -533,7 +533,7 @@ BOOL WINAPI SHDesktopMessageLoop(HANDLE);
#include <stdio.h>
#define SMC_EXEC 4
extern "C" INT WINAPI Shell_GetCachedImageIndex(LPCWSTR szPath, INT nIndex, UINT bSimulateDoc);
INT WINAPI Shell_GetCachedImageIndex(LPCWSTR szPath, INT nIndex, UINT bSimulateDoc);
static inline ULONG
Win32DbgPrint(const char *filename, int line, const char *lpFormat, ...)
@@ -574,13 +574,14 @@ Win32DbgPrint(const char *filename, int line, const char *lpFormat, ...)
static inline void DbgDumpMenuInternal(HMENU hmenu, char* padding, int padlevel)
{
WCHAR label[128];
int i;
int count = GetMenuItemCount(hmenu);
padding[padlevel] = '.';
padding[padlevel + 1] = '.';
padding[padlevel + 2] = 0;
int count = GetMenuItemCount(hmenu);
for (int i = 0; i < count; i++)
for (i = 0; i < count; i++)
{
MENUITEMINFOW mii = { 0 };