Peter Rosin : winepath: Adhere to the requested separator on failure.
Alexandre Julliard
julliard at winehq.org
Fri Aug 27 11:11:19 CDT 2010
Module: wine
Branch: master
Commit: ed62749cc85b3bdc02a4e9d8aec98355dcfbfd07
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed62749cc85b3bdc02a4e9d8aec98355dcfbfd07
Author: Peter Rosin <peda at lysator.liu.se>
Date: Fri Aug 27 07:54:52 2010 +0200
winepath: Adhere to the requested separator on failure.
---
programs/winepath/winepath.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/winepath/winepath.c b/programs/winepath/winepath.c
index c4a50fb..6e5f58d 100644
--- a/programs/winepath/winepath.c
+++ b/programs/winepath/winepath.c
@@ -237,7 +237,7 @@ int wmain(int argc, WCHAR *argv[])
/* This is a complete path conversion failure.
* It would typically happen if ntpath == "".
*/
- printf("\n");
+ printf("%c", separator);
break;
}
c=slash+1;
@@ -249,7 +249,7 @@ int wmain(int argc, WCHAR *argv[])
/* If this is not a valid NT path to start with,
* then obviously we cannot convert it.
*/
- printf("\n");
+ printf("%c", separator);
break;
}
if (tail)
@@ -274,7 +274,7 @@ int wmain(int argc, WCHAR *argv[])
printf("%s%c", path, separator);
HeapFree( GetProcessHeap(), 0, windows_name );
}
- else printf( "\n" );
+ else printf("%c", separator);
HeapFree( GetProcessHeap(), 0, unix_name );
}
}
More information about the wine-cvs
mailing list