mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
Erred in the bit macros in treeview.c. Shiftcounts were wrong.
This commit is contained in:
parent
f63f8bc24b
commit
0d3f09f3a4
1 changed files with 3 additions and 3 deletions
|
@ -38,9 +38,9 @@
|
||||||
/* Defines, since they do not need to return previous state, and nr
|
/* Defines, since they do not need to return previous state, and nr
|
||||||
* has no side effects in this file.
|
* has no side effects in this file.
|
||||||
*/
|
*/
|
||||||
#define tv_test_bit(nr,bf) (((LPBYTE)bf)[nr>>8]&(1<<(nr&7)))
|
#define tv_test_bit(nr,bf) (((LPBYTE)bf)[nr>>3]&(1<<(nr&7)))
|
||||||
#define tv_set_bit(nr,bf) ((LPBYTE)bf)[nr>>8]|=(1<<(nr&7))
|
#define tv_set_bit(nr,bf) ((LPBYTE)bf)[nr>>3]|=(1<<(nr&7))
|
||||||
#define tv_clear_bit(nr,bf) ((LPBYTE)bf)[nr>>8]&=~(1<<(nr&7))
|
#define tv_clear_bit(nr,bf) ((LPBYTE)bf)[nr>>3]&=~(1<<(nr&7))
|
||||||
|
|
||||||
|
|
||||||
#define TREEVIEW_GetInfoPtr(wndPtr) ((TREEVIEW_INFO *)wndPtr->wExtra[0])
|
#define TREEVIEW_GetInfoPtr(wndPtr) ((TREEVIEW_INFO *)wndPtr->wExtra[0])
|
||||||
|
|
Loading…
Reference in a new issue