0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

updated for version 7.3.723

Problem:    Various tiny problems.
Solution:   Various tiny fixes.
This commit is contained in:
Bram Moolenaar
2012-11-20 17:19:01 +01:00
parent d59762dcb6
commit 8d4eecc5e8
7 changed files with 20 additions and 12 deletions

View File

@@ -97,7 +97,11 @@ The latest news about Vim can be found on the Vim home page:
If you have problems, have a look at the Vim FAQ: If you have problems, have a look at the Vim FAQ:
http://vimdoc.sf.net/vimfaq.html http://vimdoc.sf.net/vimfaq.html
Send bug reports to: If you still have problems, use one of the maillists to discuss t with Vim
users and developers:
http://www.vim.org/maillist.php
If nothing else works, report bugs directly:
Bram Moolenaar <Bram@vim.org> Bram Moolenaar <Bram@vim.org>
There are several mailing lists for Vim, see http://www.vim.org/maillist.php. There are several mailing lists for Vim, see http://www.vim.org/maillist.php.

View File

@@ -5728,7 +5728,7 @@ gui_mch_dialog(
case VIM_QUESTION: useIcon = kNoteIcon; break; case VIM_QUESTION: useIcon = kNoteIcon; break;
case VIM_WARNING: useIcon = kCautionIcon; break; case VIM_WARNING: useIcon = kCautionIcon; break;
case VIM_ERROR: useIcon = kStopIcon; break; case VIM_ERROR: useIcon = kStopIcon; break;
default: useIcon = kStopIcon; default: useIcon = kStopIcon;
} }
AppendDITL(theDialog, iconDITL, overlayDITL); AppendDITL(theDialog, iconDITL, overlayDITL);
ReleaseResource(iconDITL); ReleaseResource(iconDITL);

View File

@@ -449,7 +449,7 @@ find_sniff_cmd(cmd)
if (!sniff_cmd) if (!sniff_cmd)
{ {
struct sn_cmd_list *list = sniff_cmd_ext; struct sn_cmd_list *list = sniff_cmd_ext;
while(list) while (list)
{ {
if (!strcmp(cmd, list->sniff_cmd->cmd_name)) if (!strcmp(cmd, list->sniff_cmd->cmd_name))
{ {
@@ -479,7 +479,7 @@ add_sniff_cmd(cmd, def, msg)
/* unescape message text */ /* unescape message text */
char *p = msg; char *p = msg;
char *end = p+strlen(msg); char *end = p+strlen(msg);
while(*p) while (*p)
{ {
if (*p == '\\') if (*p == '\\')
mch_memmove(p,p+1,end-p); mch_memmove(p,p+1,end-p);
@@ -489,7 +489,7 @@ add_sniff_cmd(cmd, def, msg)
SNIFF_TRACE1("request def = %s\n",def); SNIFF_TRACE1("request def = %s\n",def);
SNIFF_TRACE1("request msg = %s\n",msg); SNIFF_TRACE1("request msg = %s\n",msg);
while(list && list->next_cmd) while (list && list->next_cmd)
list = list->next_cmd; list = list->next_cmd;
if (!list) if (!list)
sniff_cmd_ext = cmd_node; sniff_cmd_ext = cmd_node;
@@ -628,7 +628,7 @@ sniff_disconnect(immediately)
gui_mch_wait_for_chars(0L); gui_mch_wait_for_chars(0L);
#endif #endif
#ifdef WIN32 #ifdef WIN32
while(sniffBufStart != NULL) while (sniffBufStart != NULL)
{ {
struct sniffBufNode *node = sniffBufStart; struct sniffBufNode *node = sniffBufStart;
sniffBufStart = sniffBufStart->next; sniffBufStart = sniffBufStart->next;
@@ -789,7 +789,7 @@ HandleSniffRequest(buffer)
command = buffer[0]; command = buffer[0];
arguments = &buffer[1]; arguments = &buffer[1];
token = strtok(arguments, sniff_rq_sep); token = strtok(arguments, sniff_rq_sep);
while(argc <3) while (argc <3)
{ {
if (token) if (token)
{ {
@@ -925,7 +925,7 @@ HandleSniffRequest(buffer)
default : default :
break; break;
} }
while(argc) while (argc)
vim_free(argv[--argc]); vim_free(argv[--argc]);
} }

View File

@@ -978,7 +978,7 @@ nb_free()
buf_list_used = 0; buf_list_used = 0;
/* free the queued key commands */ /* free the queued key commands */
while(key_node != NULL && key_node != &keyHead) while (key_node != NULL && key_node != &keyHead)
{ {
keyQ_T *next = key_node->next; keyQ_T *next = key_node->next;
vim_free(key_node->keystr); vim_free(key_node->keystr);
@@ -993,7 +993,7 @@ nb_free()
} }
/* free the queued netbeans commands */ /* free the queued netbeans commands */
while(cmd_node != NULL && cmd_node != &head) while (cmd_node != NULL && cmd_node != &head)
{ {
queue_T *next = cmd_node->next; queue_T *next = cmd_node->next;
vim_free(cmd_node->buffer); vim_free(cmd_node->buffer);

View File

@@ -7,9 +7,11 @@
* See README.txt for an overview of the Vim source code. * See README.txt for an overview of the Vim source code.
* *
* FIPS-180-2 compliant SHA-256 implementation * FIPS-180-2 compliant SHA-256 implementation
* GPL by Christophe Devine. * GPL by Christophe Devine, applies to older version.
* Modified for md5deep, in public domain. * Modified for md5deep, in public domain.
* Modified For Vim, Mohsin Ahmed, http://www.cs.albany.edu/~mosh * Modified For Vim, Mohsin Ahmed, http://www.cs.albany.edu/~mosh
* Mohsin Ahmed states this work is distributed under the VIM License or GPL,
* at your choice.
* *
* Vim specific notes: * Vim specific notes:
* Functions exported by this file: * Functions exported by this file:

View File

@@ -725,6 +725,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 */
/**/
723,
/**/ /**/
722, 722,
/**/ /**/

View File

@@ -55,7 +55,7 @@ LoadXpmImage(filename, hImage, hShape)
return -1; return -1;
if (shp == NULL) if (shp == NULL)
{ {
if (img) if (img)
XDestroyImage(img); XDestroyImage(img);
return -1; return -1;
} }