Fix typo in tmschema.h
Francois Gouget
fgouget at free.fr
Fri Sep 3 08:44:11 CDT 2004
tmschema.h should have enumerations, not a bunch of #define statements.
I'll send a patch to fix this shortly.
Changelog:
* include/tmschema.h
dlls/uxtheme/stylemap.c
Fix typo in RBS_UNCHECKEDHOT (spotted by Jan Schweizer).
Fix the HSAS_ enumeration.
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
The greatest programming project of all took six days; on the seventh day the
programmer rested. We've been trying to debug the *&^%$#@ thing ever since.
Moral: design before you implement.
-------------- next part --------------
Index: include/tmschema.h
===================================================================
RCS file: /var/cvs/wine/include/tmschema.h,v
retrieving revision 1.3
diff -u -r1.3 tmschema.h
--- include/tmschema.h 28 Oct 2003 21:45:31 -0000 1.3
+++ include/tmschema.h 3 Sep 2004 13:30:38 -0000
@@ -383,7 +383,7 @@
/* BUTTON RADIOBUTTON states */
#define RBS_UNCHECKEDNORMAL 1
-#define RBS_UNCHECEDHOT 2
+#define RBS_UNCHECKEDHOT 2
#define RBS_UNCHECKEDPRESSED 3
#define RBS_UNCHECKEDDISABLED 4
#define RBS_CHECKEDNORMAL 5
@@ -531,9 +531,8 @@
#define HIRS_PRESSED 3
/* HEADER HEADERSORTARROW states */
-#define HSAS_NORMAL 1
-#define HSAS_HOT 2
-#define HSAS_PRESSED 3
+#define HSAS_SORTEDUP 1
+#define HSAS_SORTEDDOWN 2
/* LISTVIEW parts */
#define LVP_LISTITEM 1
Index: dlls/uxtheme/stylemap.c
===================================================================
RCS file: /var/cvs/wine/dlls/uxtheme/stylemap.c,v
retrieving revision 1.4
diff -u -r1.4 stylemap.c
--- dlls/uxtheme/stylemap.c 9 Feb 2004 22:07:43 -0000 1.4
+++ dlls/uxtheme/stylemap.c 3 Sep 2004 12:55:15 -0000
@@ -356,7 +356,7 @@
{BP_PUSHBUTTON,PBS_DEFAULTED,{'D','E','F','A','U','L','T','E','D','\0'}},
{BP_RADIOBUTTON,0,{'R','A','D','I','O','B','U','T','T','O','N','\0'}},
{BP_RADIOBUTTON,RBS_UNCHECKEDNORMAL,{'U','N','C','H','E','C','K','E','D','N','O','R','M','A','L','\0'}},
- {BP_RADIOBUTTON,RBS_UNCHECEDHOT,{'U','N','C','H','E','C','E','D','H','O','T','\0'}},
+ {BP_RADIOBUTTON,RBS_UNCHECKEDHOT,{'U','N','C','H','E','C','K','E','D','H','O','T','\0'}},
{BP_RADIOBUTTON,RBS_UNCHECKEDPRESSED,{'U','N','C','H','E','C','K','E','D','P','R','E','S','S','E','D','\0'}},
{BP_RADIOBUTTON,RBS_UNCHECKEDDISABLED,{'U','N','C','H','E','C','K','E','D','D','I','S','A','B','L','E','D','\0'}},
{BP_RADIOBUTTON,RBS_CHECKEDNORMAL,{'C','H','E','C','K','E','D','N','O','R','M','A','L','\0'}},
@@ -465,9 +465,8 @@
{HP_HEADERITEMRIGHT,HIRS_HOT,{'H','O','T','\0'}},
{HP_HEADERITEMRIGHT,HIRS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{HP_HEADERSORTARROW,0,{'H','E','A','D','E','R','S','O','R','T','A','R','R','O','W','\0'}},
- {HP_HEADERSORTARROW,HSAS_NORMAL,{'N','O','R','M','A','L','\0'}},
- {HP_HEADERSORTARROW,HSAS_HOT,{'H','O','T','\0'}},
- {HP_HEADERSORTARROW,HSAS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
+ {HP_HEADERSORTARROW,HSAS_SORTEDUP,{'S','O','R','T','E','D','U','P','\0'}},
+ {HP_HEADERSORTARROW,HSAS_SORTEDDOWN,{'S','O','R','T','E','D','D','O','W','N','\0'}},
{0,0,{'\0'}}
};
More information about the wine-patches
mailing list