Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ed62749c
Commit
ed62749c
authored
Aug 27, 2010
by
Peter Rosin
Committed by
Alexandre Julliard
Aug 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winepath: Adhere to the requested separator on failure.
parent
25efb008
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
winepath.c
programs/winepath/winepath.c
+3
-3
No files found.
programs/winepath/winepath.c
View file @
ed62749c
...
@@ -237,7 +237,7 @@ int wmain(int argc, WCHAR *argv[])
...
@@ -237,7 +237,7 @@ int wmain(int argc, WCHAR *argv[])
/* This is a complete path conversion failure.
/* This is a complete path conversion failure.
* It would typically happen if ntpath == "".
* It would typically happen if ntpath == "".
*/
*/
printf
(
"
\n
"
);
printf
(
"
%c"
,
separator
);
break
;
break
;
}
}
c
=
slash
+
1
;
c
=
slash
+
1
;
...
@@ -249,7 +249,7 @@ int wmain(int argc, WCHAR *argv[])
...
@@ -249,7 +249,7 @@ int wmain(int argc, WCHAR *argv[])
/* If this is not a valid NT path to start with,
/* If this is not a valid NT path to start with,
* then obviously we cannot convert it.
* then obviously we cannot convert it.
*/
*/
printf
(
"
\n
"
);
printf
(
"
%c"
,
separator
);
break
;
break
;
}
}
if
(
tail
)
if
(
tail
)
...
@@ -274,7 +274,7 @@ int wmain(int argc, WCHAR *argv[])
...
@@ -274,7 +274,7 @@ int wmain(int argc, WCHAR *argv[])
printf
(
"%s%c"
,
path
,
separator
);
printf
(
"%s%c"
,
path
,
separator
);
HeapFree
(
GetProcessHeap
(),
0
,
windows_name
);
HeapFree
(
GetProcessHeap
(),
0
,
windows_name
);
}
}
else
printf
(
"
\n
"
);
else
printf
(
"%c"
,
separator
);
HeapFree
(
GetProcessHeap
(),
0
,
unix_name
);
HeapFree
(
GetProcessHeap
(),
0
,
unix_name
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment