Problem: Perl and Tcl have a few code style problems.
Solution: Clean it up. (Elias Diem)
#ifdef HAVE_SANDBOX
if (sandbox)
{
- safe = perl_get_sv( "VIM::safe", FALSE );
+ safe = perl_get_sv("VIM::safe", FALSE);
# ifndef MAKE_TEST /* avoid a warning for unreachable code */
if (safe == NULL || !SvTRUE(safe))
EMSG(_("E299: Perl evaluation forbidden in sandbox without the Safe module"));
VIWIN win
PPCODE:
- if(items == 1)
+ if (items == 1)
{
EXTEND(sp, 2);
if (!win_valid(win))
PUSHs(sv_2mortal(newSViv(win->w_cursor.lnum)));
PUSHs(sv_2mortal(newSViv(win->w_cursor.col)));
}
- else if(items == 3)
+ else if (items == 3)
{
int lnum, col;
{
lnum = SvIV(ST(1));
count = 1 + SvIV(ST(2)) - lnum;
- if(count == 0)
+ if (count == 0)
count = 1;
- if(count < 0)
+ if (count < 0)
{
lnum -= count;
count = -count;
{
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;
{
sprintf(buf, _("E572: exit code %d"), retval);
tclerrmsg(buf);
- if (retval == 0 )
+ if (retval == 0)
{
did_emsg = 0;
newerr = OK;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 263,
/**/
262,
/**/