Skip to content

Commit

Permalink
Fix compilation problems caused by patch 7.3.102
Browse files Browse the repository at this point in the history
  • Loading branch information
b4winckler committed Jan 29, 2011
1 parent 5e544c5 commit 20ded53
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/MacVim/gui_macvim.m
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,8 @@
char_u *message,
char_u *buttons,
int dfltbutton,
char_u *textfield)
char_u *textfield,
int ex_cmd) // UNUSED
{
ASLogDebug(@"type=%d title='%s' message='%s' buttons='%s' dfltbutton=%d "
"textfield='%s'", type, title, message, buttons, dfltbutton,
Expand Down
4 changes: 2 additions & 2 deletions src/ex_cmds2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ vim_dialog_save_changes(buf)
(buf->b_fname != NULL)
? (char_u *)_("&Save\n&Cancel\n&Don't Save")
: (char_u *)_("&Save...\n&Cancel\n&Don't Save"),
1, NULL))
1, NULL, FALSE))
{
case 1: return VIM_YES;
case 3: return VIM_NO;
Expand All @@ -1528,7 +1528,7 @@ vim_dialog_save_all_changes(buf)
"them."),
(char_u *)_("&Save\n&Don't Save\nS&ave All\nD&iscard All\n"
"&Cancel"),
1, NULL))
1, NULL, FALSE))
{
case 1: return VIM_YES;
case 2: return VIM_NO;
Expand Down
2 changes: 1 addition & 1 deletion src/fileio.c
Original file line number Diff line number Diff line change
Expand Up @@ -7031,7 +7031,7 @@ buf_check_timestamp(buf, focus)
{
switch (do_dialog(VIM_WARNING, (char_u *)_("Warning"), tbuf,
(char_u *)_("&OK\n&Load File\nLoad &All\n&Ignore All"),
1, NULL))
1, NULL, TRUE))
{
case 3:
default_reload_choice = 2;
Expand Down
3 changes: 2 additions & 1 deletion src/proto/gui_macvim.pro
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ gui_mch_dialog(
char_u *message,
char_u *buttons,
int dfltbutton,
char_u *textfield);
char_u *textfield,
int ex_cmd);
void
gui_mch_draw_hollow_cursor(guicolor_T color);
void
Expand Down

0 comments on commit 20ded53

Please sign in to comment.