| commit | bf022eecb914d3fd52738e14fcbd21b28a187fa4 | [log] [tgz] |
|---|---|---|
| author | Francois Gouget <fgouget@codeweavers.com> | Sun May 11 02:47:28 2003 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Sun May 11 02:47:28 2003 +0000 |
| tree | 6f5fbc4092d554b30b9cf12b3920d1a5ca3a5173 | |
| parent | b932723a8cd42557aa8acb1778beb3a0b7db2d9c [diff] |
Reset the result buffer after each argument.
diff --git a/programs/winepath/winepath.c b/programs/winepath/winepath.c index 6e44709..fbce911 100644 --- a/programs/winepath/winepath.c +++ b/programs/winepath/winepath.c
@@ -151,6 +151,7 @@ for (i = 1; argv[i]; i++) { + *path='\0'; if (outputformats & LONGFORMAT) { GetLongPathNameA(argv[i], path, sizeof(path)); printf("%s\n", path);