aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32gui.h')
-rw-r--r--src/w32gui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32gui.h b/src/w32gui.h
index 9cad4f21f21..079cd19a1f1 100644
--- a/src/w32gui.h
+++ b/src/w32gui.h
@@ -59,13 +59,13 @@ typedef HCURSOR Cursor;
59 59
60/* Dealing with bits of wchar_t as if they were an XChar2b. */ 60/* Dealing with bits of wchar_t as if they were an XChar2b. */
61#define STORE_XCHAR2B(chp, byte1, byte2) \ 61#define STORE_XCHAR2B(chp, byte1, byte2) \
62 ((*chp) = ((XChar2b)((((byte1) & 0x00ff) << 8) | ((byte2) & 0x00ff)))) 62 ((*(chp)) = ((XChar2b)((((byte1) & 0x00ff) << 8) | ((byte2) & 0x00ff))))
63 63
64#define XCHAR2B_BYTE1(chp) \ 64#define XCHAR2B_BYTE1(chp) \
65 (((*chp) & 0xff00) >> 8) 65 (((*(chp)) & 0xff00) >> 8)
66 66
67#define XCHAR2B_BYTE2(chp) \ 67#define XCHAR2B_BYTE2(chp) \
68 ((*chp) & 0x00ff) 68 ((*(chp)) & 0x00ff)
69 69
70 70
71/* Windows equivalent of XImage. */ 71/* Windows equivalent of XImage. */