Author: rharabien
Date: Wed Jul 27 01:00:47 2011
New Revision: 52913
URL:
http://svn.reactos.org/svn/reactos?rev=52913&view=rev
Log:
[DESK]
- Fix MS VC compilation. Spotted by Michael Martin
- Remove unused definition
Modified:
trunk/reactos/dll/cpl/desk/theme.c
trunk/reactos/dll/cpl/desk/theme.h
Modified: trunk/reactos/dll/cpl/desk/theme.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/theme.c?rev=5…
==============================================================================
--- trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] Wed Jul 27 01:00:47 2011
@@ -120,8 +120,8 @@
/* FIXME: XP seems to use grayed checkboxes to reflect differences between menu and
tooltips settings
* Just keep them in sync for now:
*/
- theme->Effects.bTooltipAnimation = theme->Effects.bMenuAnimation;
- theme->Effects.bTooltipFade = theme->Effects.bMenuFade;
+ theme->Effects.bTooltipAnimation = theme->Effects.bMenuAnimation;
+ theme->Effects.bTooltipFade = theme->Effects.bMenuFade;
/* show content of windows during dragging */
SystemParametersInfo(SPI_GETDRAGFULLWINDOWS, 0, &theme->Effects.bDragFullWindows,
0);
@@ -138,6 +138,7 @@
TCHAR strValueName[10];
HKEY hkNewSchemes, hkScheme, hkSize;
DWORD dwType, dwLength;
+ UINT64 iSize;
BOOL Ret = FALSE;
if (!g_PresetLoaded)
@@ -190,7 +191,6 @@
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))
Modified: trunk/reactos/dll/cpl/desk/theme.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/theme.h?rev=5…
==============================================================================
--- trunk/reactos/dll/cpl/desk/theme.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/theme.h [iso-8859-1] Wed Jul 27 01:00:47 2011
@@ -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 */