Andrew Nguyen : hostname: Output a CRLF newline with the hostname string.
Alexandre Julliard
julliard at winehq.org
Wed Jun 1 12:11:08 CDT 2011
Module: wine
Branch: master
Commit: c8ea11c0d8d6e0e22463715abb5a2c5843a5cb2b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c8ea11c0d8d6e0e22463715abb5a2c5843a5cb2b
Author: Andrew Nguyen <anguyen at codeweavers.com>
Date: Wed Jun 1 07:13:21 2011 -0500
hostname: Output a CRLF newline with the hostname string.
---
programs/hostname/hostname.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/hostname/hostname.c b/programs/hostname/hostname.c
index 003bbba..77ff23b 100644
--- a/programs/hostname/hostname.c
+++ b/programs/hostname/hostname.c
@@ -109,7 +109,7 @@ static int hostname_message(int msg)
static void display_computer_name(void)
{
- static const WCHAR fmtW[] = {'%','s','\n',0};
+ static const WCHAR fmtW[] = {'%','s','\r','\n',0};
char nameA[256];
WCHAR nameW[256];
More information about the wine-cvs
mailing list