Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ff828161
Commit
ff828161
authored
Aug 13, 2004
by
Markus Amsler
Committed by
Alexandre Julliard
Aug 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make FINDFIRST working with /.
parent
c966c56f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
int21.c
dlls/winedos/int21.c
+3
-1
No files found.
dlls/winedos/int21.c
View file @
ff828161
...
...
@@ -3690,7 +3690,7 @@ static const WCHAR *INT21_FindPath; /* will point to current dta->fullPath searc
*/
static
int
INT21_FindFirst
(
CONTEXT86
*
context
)
{
WCHAR
*
p
;
WCHAR
*
p
,
*
q
;
const
char
*
path
;
FINDFILE_DTA
*
dta
=
(
FINDFILE_DTA
*
)
INT21_GetCurrentDTA
(
context
);
WCHAR
maskW
[
12
],
pathW
[
MAX_PATH
];
...
...
@@ -3700,6 +3700,8 @@ static int INT21_FindFirst( CONTEXT86 *context )
MultiByteToWideChar
(
CP_OEMCP
,
0
,
path
,
-
1
,
pathW
,
MAX_PATH
);
p
=
strrchrW
(
pathW
,
'\\'
);
q
=
strrchrW
(
pathW
,
'/'
);
if
(
q
>
p
)
p
=
q
;
if
(
!
p
)
{
if
(
pathW
[
0
]
&&
pathW
[
1
]
==
':'
)
p
=
pathW
+
2
;
...
...
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