mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.1-080
This commit is contained in:
@@ -69,14 +69,14 @@ getGvimName(char *name, int runtime)
|
|||||||
|
|
||||||
// Registry didn't work, use the search path.
|
// Registry didn't work, use the search path.
|
||||||
if (name[0] == 0)
|
if (name[0] == 0)
|
||||||
strcpy(name, searchpath("gvim.exe"));
|
strcpy(name, searchpath((char *)"gvim.exe"));
|
||||||
|
|
||||||
if (!runtime)
|
if (!runtime)
|
||||||
{
|
{
|
||||||
// Only when looking for the executable, not the runtime dir, we can
|
// Only when looking for the executable, not the runtime dir, we can
|
||||||
// search for the batch file or a name without a path.
|
// search for the batch file or a name without a path.
|
||||||
if (name[0] == 0)
|
if (name[0] == 0)
|
||||||
strcpy(name, searchpath("gvim.bat"));
|
strcpy(name, searchpath((char *)"gvim.bat"));
|
||||||
if (name[0] == 0)
|
if (name[0] == 0)
|
||||||
strcpy(name, "gvim"); // finds gvim.bat or gvim.exe
|
strcpy(name, "gvim"); // finds gvim.bat or gvim.exe
|
||||||
|
|
||||||
@@ -152,9 +152,9 @@ dyn_libintl_init(char *dir)
|
|||||||
FARPROC *ptr;
|
FARPROC *ptr;
|
||||||
} libintl_entry[] =
|
} libintl_entry[] =
|
||||||
{
|
{
|
||||||
{"gettext", (FARPROC*)&dyn_libintl_gettext},
|
{(char *)"gettext", (FARPROC*)&dyn_libintl_gettext},
|
||||||
{"textdomain", (FARPROC*)&dyn_libintl_textdomain},
|
{(char *)"textdomain", (FARPROC*)&dyn_libintl_textdomain},
|
||||||
{"bindtextdomain", (FARPROC*)&dyn_libintl_bindtextdomain},
|
{(char *)"bindtextdomain", (FARPROC*)&dyn_libintl_bindtextdomain},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -835,7 +835,7 @@ searchpath(char *name)
|
|||||||
(LPTSTR)location) > (HINSTANCE)32)
|
(LPTSTR)location) > (HINSTANCE)32)
|
||||||
return location;
|
return location;
|
||||||
}
|
}
|
||||||
return "";
|
return (char *)"";
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
80,
|
||||||
/**/
|
/**/
|
||||||
79,
|
79,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user