mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[DESK]
- Fix MS VC compilation. Spotted by Michael Martin - Remove unused definition svn path=/trunk/; revision=52913
This commit is contained in:
parent
32ed1e22ae
commit
ab7897e9d6
2 changed files with 3 additions and 4 deletions
|
@ -138,6 +138,7 @@ BOOL LoadThemeFromReg(THEME* theme, INT ThemeId)
|
|||
TCHAR strValueName[10];
|
||||
HKEY hkNewSchemes, hkScheme, hkSize;
|
||||
DWORD dwType, dwLength;
|
||||
UINT64 iSize;
|
||||
BOOL Ret = FALSE;
|
||||
|
||||
if (!g_PresetLoaded)
|
||||
|
@ -190,7 +191,6 @@ BOOL LoadThemeFromReg(THEME* theme, INT ThemeId)
|
|||
for (i = 0; i < NUM_SIZES; i++)
|
||||
{
|
||||
wsprintf(strValueName, TEXT("Size #%d"), i);
|
||||
UINT64 iSize;
|
||||
dwLength = sizeof(UINT64);
|
||||
if (RegQueryValueEx(hkSize, strValueName, NULL, &dwType, (LPBYTE)&iSize, &dwLength) != ERROR_SUCCESS ||
|
||||
dwType != REG_QWORD || dwLength != sizeof(UINT64))
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#define NUM_SIZES 20
|
||||
#define NUM_COLORS 31
|
||||
#define MAX_TEMPLATES 50
|
||||
#define MAX_COLORNAMELENGTH 30
|
||||
#define MAX_TEMPLATENAMELENTGH 80
|
||||
|
||||
/* Some typedefs for theme */
|
||||
|
|
Loading…
Reference in a new issue