aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32gui.h
diff options
context:
space:
mode:
authorStefan Monnier2010-12-10 19:13:08 -0500
committerStefan Monnier2010-12-10 19:13:08 -0500
commit2c302df3a13236bfbf8ea1b771d13618fcda8d71 (patch)
treef26dc9f22861dc37610de319d05255de058c221b /src/w32gui.h
parent0c747cb143fa227e78f350ac353d703f489209df (diff)
parent175069efeb080517afefdd44a06f7a779ea8c25c (diff)
downloademacs-2c302df3a13236bfbf8ea1b771d13618fcda8d71.tar.gz
emacs-2c302df3a13236bfbf8ea1b771d13618fcda8d71.zip
Merge from trunk
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. */