[newlib-cygwin] Cygwin: fhandler_console.cc: fix minor style issues

Corinna Vinschen corinna@sourceware.org
Thu Feb 20 16:04:00 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4ec2e5e1c2d9bfdb742386a43a9d27aec4d74523

commit 4ec2e5e1c2d9bfdb742386a43a9d27aec4d74523
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Feb 20 14:57:26 2020 +0100

    Cygwin: fhandler_console.cc: fix minor style issues
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/fhandler_console.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index c062fd7..f7044c8 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -1774,8 +1774,8 @@ static const wchar_t __vt100_conv[31] = {
 	0x00B7, /* Middle Dot */
 };
 
-inline
-bool fhandler_console::write_console (PWCHAR buf, DWORD len, DWORD& done)
+inline bool
+fhandler_console::write_console (PWCHAR buf, DWORD len, DWORD& done)
 {
   bool need_fix_tab_position = false;
   /* Check if screen will be alternated. */
@@ -2643,7 +2643,7 @@ fhandler_console::write_normal (const unsigned char *src,
 	 && found - src < CONVERT_LIMIT
 	 && base_chars[*found] != IGN
 	 && ((wincap.has_con_24bit_colors () && !con_is_legacy)
-	     || base_chars[*found] == NOR) )
+	     || base_chars[*found] == NOR))
     {
       switch (ret = f_mbtowc (_REENT, NULL, (const char *) found,
 			       end - found, &ps))



More information about the Cygwin-cvs mailing list