X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/4628bef1eea0f60e846fe6b6591725aa92952de9..2c302df3a13236bfbf8ea1b771d13618fcda8d71:/src/w32gui.h diff --git a/src/w32gui.h b/src/w32gui.h index 9cad4f21f2..079cd19a1f 100644 --- a/src/w32gui.h +++ b/src/w32gui.h @@ -59,13 +59,13 @@ typedef HCURSOR Cursor; /* Dealing with bits of wchar_t as if they were an XChar2b. */ #define STORE_XCHAR2B(chp, byte1, byte2) \ - ((*chp) = ((XChar2b)((((byte1) & 0x00ff) << 8) | ((byte2) & 0x00ff)))) + ((*(chp)) = ((XChar2b)((((byte1) & 0x00ff) << 8) | ((byte2) & 0x00ff)))) #define XCHAR2B_BYTE1(chp) \ - (((*chp) & 0xff00) >> 8) + (((*(chp)) & 0xff00) >> 8) #define XCHAR2B_BYTE2(chp) \ - ((*chp) & 0x00ff) + ((*(chp)) & 0x00ff) /* Windows equivalent of XImage. */