diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-22 22:47:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-22 22:47:02 +0000 |
commit | f4cd3e8074641af68bf2b6a8579c3da58f0ac013 (patch) | |
tree | e0d8399f0df9baaaff825e575da4625935c64583 /src/gui_w32.c | |
parent | bb1004ee56bde6345b469568e2bdd86b54b32bf7 (diff) | |
download | vim-git-f4cd3e8074641af68bf2b6a8579c3da58f0ac013.tar.gz |
updated for version 7.0175v7.0175
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index c5d1eb009..c49d82b3e 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -2522,8 +2522,7 @@ gui_mch_menu_grey( #define add_string(s) strcpy((LPSTR)p, s); (LPSTR)p += (strlen((LPSTR)p) + 1) #define add_word(x) *p++ = (x) -#define add_byte(x) *((LPSTR)p)++ = (x) -#define add_long(x) *((LPDWORD)p)++ = (x) +#define add_long(x) dwp = (DWORD *)p; *dwp++ = (x); p = (WORD *)dwp #if defined(FEAT_GUI_DIALOG) || defined(PROTO) /* @@ -2650,6 +2649,7 @@ gui_mch_dialog( char_u *textfield) { WORD *p, *pdlgtemplate, *pnumitems; + DWORD *dwp; int numButtons; int *buttonWidths, *buttonPositions; int buttonYpos; |