summaryrefslogtreecommitdiff
path: root/src/if_tcl.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-07-27 14:15:46 +0200
committerBram Moolenaar <Bram@vim.org>2011-07-27 14:15:46 +0200
commita171162356bd7f8b11f9af1061591316fc8dad3d (patch)
tree3ade295715bfc97cf79c8f909f52525cfd04aa79 /src/if_tcl.c
parentd2221131cfe5e4c802b70a0d74ac23934c178a7c (diff)
downloadvim-git-a171162356bd7f8b11f9af1061591316fc8dad3d.tar.gz
updated for version 7.3.263v7.3.263
Problem: Perl and Tcl have a few code style problems. Solution: Clean it up. (Elias Diem)
Diffstat (limited to 'src/if_tcl.c')
-rw-r--r--src/if_tcl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c
index e5eee2926..5537b6356 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -1884,14 +1884,14 @@ tclexit(error)
{
int newerr = OK;
- if (error == TCL_EXIT )
+ if (error == TCL_EXIT)
{
int retval;
char buf[50];
Tcl_Obj *robj;
robj = Tcl_GetObjResult(tclinfo.interp);
- if( Tcl_GetIntFromObj(tclinfo.interp, robj, &retval) != TCL_OK )
+ if (Tcl_GetIntFromObj(tclinfo.interp, robj, &retval) != TCL_OK)
{
EMSG(_("E281: TCL ERROR: exit code is not int!? Please report this to vim-dev@vim.org"));
newerr = FAIL;
@@ -1900,7 +1900,7 @@ tclexit(error)
{
sprintf(buf, _("E572: exit code %d"), retval);
tclerrmsg(buf);
- if (retval == 0 )
+ if (retval == 0)
{
did_emsg = 0;
newerr = OK;