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
f01baaa9
Commit
f01baaa9
authored
Nov 29, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some bugs in MCI string parsing.
parent
1cb11830
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
mci.c
dlls/winmm/mci.c
+2
-3
No files found.
dlls/winmm/mci.c
View file @
f01baaa9
...
...
@@ -555,7 +555,7 @@ static DWORD MCI_UnmapMsgAtoW(UINT msg, DWORD_PTR dwParam1, DWORD_PTR dwParam2,
/**************************************************************************
* MCI_GetDevTypeFromFileName [internal]
*/
static
DWORD
MCI_GetDevTypeFromFileName
(
LPCWSTR
fileName
,
LP
C
WSTR
buf
,
UINT
len
)
static
DWORD
MCI_GetDevTypeFromFileName
(
LPCWSTR
fileName
,
LPWSTR
buf
,
UINT
len
)
{
LPCWSTR
tmp
;
HKEY
hKey
;
...
...
@@ -1031,7 +1031,6 @@ static DWORD MCI_GetString(LPWSTR* str, LPWSTR* args)
if
(
ptr
[
-
1
]
==
'\\'
)
TRACE
(
"Ooops: un-escaped
\"\n
"
);
*
ptr
++
=
'\0'
;
/* remove trailing " */
if
(
*
ptr
!=
' '
&&
*
ptr
!=
'\0'
)
return
MCIERR_EXTRA_CHARACTERS
;
*
ptr
++
=
'\0'
;
}
else
{
ptr
=
strchrW
(
ptr
,
' '
);
...
...
@@ -1093,7 +1092,7 @@ static DWORD MCI_ParseOptArgs(LPDWORD data, int _offset, LPCWSTR lpCmd,
}
if
(
strncmpiW
(
args
,
str
,
len
)
==
0
&&
(
args
[
len
]
==
0
||
args
[
len
]
==
' '
))
{
((
eid
==
MCI_STRING
&&
len
==
0
)
||
args
[
len
]
==
0
||
args
[
len
]
==
' '
))
{
/* store good values into data[] */
args
+=
len
;
while
(
*
args
==
' '
)
args
++
;
...
...
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