Hi,

2018/10/16 Tue 5:03:14 UTC+9 Bram Moolenaar wrote:
> Ken Takata wrote:
> 
> > This is a small patch to fix some indents:
> > 
> > --- a/src/os_win32.c
> > +++ b/src/os_win32.c
> > @@ -7691,9 +7691,9 @@ mch_setenv(char *var, char *value, int x
> >  #endif
> >      {
> >     _putenv((char *)envbuf);
> > -# ifdef libintl_putenv
> > +#ifdef libintl_putenv
> >     libintl_putenv((char *)envbuf);
> > -# endif
> > +#endif
> >     /* Unlike Un*x systems, we can free the string for _putenv(). */
> >     vim_free(envbuf);
> >      }
> 
> Thanks.  I'll include it with the next patch for this file.

I found some additional indent issues.
Please check the patch.

Regards,
Ken Takata

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
# HG changeset patch
# Parent  edb3cc89a3f8a0862977aac3e5b2bbfadae6d07a

diff --git a/src/os_win32.c b/src/os_win32.c
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -5042,9 +5042,9 @@ mch_call_shell(
     {
 	/* Use a terminal window to run the command in. */
 	x = mch_call_shell_terminal(cmd, options);
-#ifdef FEAT_TITLE
+# ifdef FEAT_TITLE
 	resettitle();
-#endif
+# endif
 	return x;
     }
 #endif
@@ -7353,7 +7353,7 @@ mch_copy_file_attribute(char_u *from, ch
  */
 
 /* These magic numbers are from the MS header files */
-#define MIN_STACK_WINNT 2
+# define MIN_STACK_WINNT 2
 
 /*
  * This function does the same thing as _resetstkoflw(), which is only
@@ -7598,7 +7598,7 @@ fix_arg_enc(void)
 	{
 	    int literal = used_file_literal;
 
-#ifdef FEAT_DIFF
+# ifdef FEAT_DIFF
 	    /* When using diff mode may need to concatenate file name to
 	     * directory name.  Just like it's done in main(). */
 	    if (used_file_diff_mode && mch_isdir(str) && GARGCOUNT > 0
@@ -7613,7 +7613,7 @@ fix_arg_enc(void)
 		    str = r;
 		}
 	    }
-#endif
+# endif
 	    /* Re-use the old buffer by renaming it.  When not using literal
 	     * names it's done by alist_expand() below. */
 	    if (used_file_literal)
@@ -7691,9 +7691,9 @@ mch_setenv(char *var, char *value, int x
 #endif
     {
 	_putenv((char *)envbuf);
-# ifdef libintl_putenv
+#ifdef libintl_putenv
 	libintl_putenv((char *)envbuf);
-# endif
+#endif
 	/* Unlike Un*x systems, we can free the string for _putenv(). */
 	vim_free(envbuf);
     }
@@ -7754,7 +7754,7 @@ vtp_init(void)
     fg = (GetRValue(fg) << 16) | (GetGValue(fg) << 8) | GetBValue(fg);
     default_console_color_bg = bg;
     default_console_color_fg = fg;
-#endif
+# endif
 
     set_console_color_rgb();
 }

Raspunde prin e-mail lui