Reset the result buffer after each argument.

This commit is contained in:
Francois Gouget 2003-05-11 02:47:28 +00:00 committed by Alexandre Julliard
parent b932723a8c
commit bf022eecb9
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ int main(int argc, char *argv[])
for (i = 1; argv[i]; i++)
{
*path='\0';
if (outputformats & LONGFORMAT) {
GetLongPathNameA(argv[i], path, sizeof(path));
printf("%s\n", path);