Hans Leidekker : wmic: Use DOS line endings.

Alexandre Julliard julliard at winehq.org
Mon Oct 8 15:44:07 CDT 2018


Module: wine
Branch: master
Commit: 2ccb82b09954693e790ad68303e889fe3d3f0d0c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2ccb82b09954693e790ad68303e889fe3d3f0d0c

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Oct  8 15:53:09 2018 +0200

wmic: Use DOS line endings.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/wmic/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/wmic/main.c b/programs/wmic/main.c
index 2cb618d..b2ec7e2 100644
--- a/programs/wmic/main.c
+++ b/programs/wmic/main.c
@@ -167,8 +167,8 @@ static int query_prop( const WCHAR *class, const WCHAR *propname )
     static const WCHAR select_allW[] = {'S','E','L','E','C','T',' ','*',' ','F','R','O','M',' ',0};
     static const WCHAR cimv2W[] = {'R','O','O','T','\\','C','I','M','V','2',0};
     static const WCHAR wqlW[] = {'W','Q','L',0};
-    static const WCHAR newlineW[] = {'\n',0};
-    static const WCHAR fmtW[] = {'%','s','\n',0};
+    static const WCHAR newlineW[] = {'\r','\n',0};
+    static const WCHAR fmtW[] = {'%','s','\r','\n',0};
     HRESULT hr;
     IWbemLocator *locator = NULL;
     IWbemServices *services = NULL;




More information about the wine-cvs mailing list