mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
commit
da3c0e4962
@ -78,9 +78,8 @@ then the PDB was built with the EXE.
|
|||||||
|
|
||||||
If you have Visual Studio, use that instead of the VC Toolkit and WinDbg.
|
If you have Visual Studio, use that instead of the VC Toolkit and WinDbg.
|
||||||
|
|
||||||
For other compilers, you should always use the corresponding debugger: TD for
|
For other compilers, you should always use the corresponding debugger: gdb
|
||||||
a Vim executable compiled with the Borland compiler; gdb (see above
|
(see above |debug-gcc|) for the Cygwin and MinGW compilers.
|
||||||
|debug-gcc|) for the Cygwin and MinGW compilers.
|
|
||||||
|
|
||||||
|
|
||||||
*debug-vs2005*
|
*debug-vs2005*
|
||||||
|
@ -1298,7 +1298,12 @@ void dialog_changed(buf_T *buf, bool checkall)
|
|||||||
{
|
{
|
||||||
char_u buff[DIALOG_MSG_SIZE];
|
char_u buff[DIALOG_MSG_SIZE];
|
||||||
int ret;
|
int ret;
|
||||||
exarg_T ea;
|
// Init ea pseudo-structure, this is needed for the check_overwrite()
|
||||||
|
// function.
|
||||||
|
exarg_T ea = {
|
||||||
|
.append = false,
|
||||||
|
.forceit = false,
|
||||||
|
};
|
||||||
|
|
||||||
dialog_msg(buff, _("Save changes to \"%s\"?"), buf->b_fname);
|
dialog_msg(buff, _("Save changes to \"%s\"?"), buf->b_fname);
|
||||||
if (checkall) {
|
if (checkall) {
|
||||||
@ -1307,10 +1312,6 @@ void dialog_changed(buf_T *buf, bool checkall)
|
|||||||
ret = vim_dialog_yesnocancel(VIM_QUESTION, NULL, buff, 1);
|
ret = vim_dialog_yesnocancel(VIM_QUESTION, NULL, buff, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Init ea pseudo-structure, this is needed for the check_overwrite()
|
|
||||||
// function.
|
|
||||||
ea.append = ea.forceit = false;
|
|
||||||
|
|
||||||
if (ret == VIM_YES) {
|
if (ret == VIM_YES) {
|
||||||
if (buf->b_fname != NULL
|
if (buf->b_fname != NULL
|
||||||
&& check_overwrite(&ea,
|
&& check_overwrite(&ea,
|
||||||
|
@ -4260,10 +4260,10 @@ static void restore_start_dir(char_u *dirname_start)
|
|||||||
if (STRCMP(dirname_start, dirname_now) != 0) {
|
if (STRCMP(dirname_start, dirname_now) != 0) {
|
||||||
/* If the directory has changed, change it back by building up an
|
/* If the directory has changed, change it back by building up an
|
||||||
* appropriate ex command and executing it. */
|
* appropriate ex command and executing it. */
|
||||||
exarg_T ea;
|
exarg_T ea = {
|
||||||
|
.arg = dirname_start,
|
||||||
ea.arg = dirname_start;
|
.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd,
|
||||||
ea.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd;
|
};
|
||||||
ex_cd(&ea);
|
ex_cd(&ea);
|
||||||
}
|
}
|
||||||
xfree(dirname_now);
|
xfree(dirname_now);
|
||||||
|
Loading…
Reference in New Issue
Block a user