Commit bf022eec authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Reset the result buffer after each argument.

parent b932723a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment