=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: cmd: Rename unicodePipes variable.

Alexandre Julliard julliard at winehq.org
Tue Nov 29 14:20:39 CST 2011


Module: wine
Branch: master
Commit: 513ee9a3aa081175c88fdd34ab3f95db9ce80fe9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=513ee9a3aa081175c88fdd34ab3f95db9ce80fe9

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Nov 29 14:39:28 2011 +0100

cmd: Rename unicodePipes variable.

---

 programs/cmd/wcmdmain.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c
index c3c71a9..1947884 100644
--- a/programs/cmd/wcmdmain.c
+++ b/programs/cmd/wcmdmain.c
@@ -45,7 +45,7 @@ WCHAR quals[MAX_PATH], param1[MAXSTRING], param2[MAXSTRING];
 BATCH_CONTEXT *context = NULL;
 extern struct env_stack *pushd_directories;
 static const WCHAR *pagedMessage = NULL;
-static BOOL unicodePipes = FALSE;
+static BOOL unicodeOutput = FALSE;
 
 #define MAX_WRITECONSOLE_SIZE 65535
 
@@ -89,7 +89,7 @@ static void WCMD_output_asis_len(const WCHAR *message, DWORD len, HANDLE device)
       DWORD convertedChars;
       char *buffer;
 
-      if (!unicodePipes) {
+      if (!unicodeOutput) {
 
         if (!(buffer = get_file_buffer()))
             return;
@@ -2259,9 +2259,9 @@ int wmain (int argc, WCHAR *argvW[])
       } else if (tolowerW(c)=='s') {
           opt_s = TRUE;
       } else if (tolowerW(c)=='a') {
-          unicodePipes=FALSE;
+          unicodeOutput = FALSE;
       } else if (tolowerW(c)=='u') {
-          unicodePipes=TRUE;
+          unicodeOutput = TRUE;
       } else if (tolowerW(c)=='t' && (*argvW)[2]==':') {
           opt_t=strtoulW(&(*argvW)[3], NULL, 16);
       } else if (tolowerW(c)=='x' || tolowerW(c)=='y') {




More information about the wine-cvs mailing list