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
970692c0
Commit
970692c0
authored
Oct 20, 2015
by
Bruno Jesus
Committed by
Alexandre Julliard
Oct 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32: Make wine_dbgstr_fcc handle non-ASCII values better.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3a7dfcd2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
msvideo_main.c
dlls/msvfw32/msvideo_main.c
+6
-3
No files found.
dlls/msvfw32/msvideo_main.c
View file @
970692c0
...
...
@@ -48,9 +48,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvideo);
static
inline
const
char
*
wine_dbgstr_fcc
(
DWORD
fcc
)
{
return
wine_dbg_sprintf
(
"%c%c%c%c"
,
LOBYTE
(
LOWORD
(
fcc
)),
HIBYTE
(
LOWORD
(
fcc
)),
LOBYTE
(
HIWORD
(
fcc
)),
HIBYTE
(
HIWORD
(
fcc
)));
char
fcc_str
[
5
]
=
{
LOBYTE
(
LOWORD
(
fcc
)),
HIBYTE
(
LOWORD
(
fcc
)),
LOBYTE
(
HIWORD
(
fcc
)),
HIBYTE
(
HIWORD
(
fcc
)),
'\0'
};
if
(
isalnum
(
fcc_str
[
0
])
&&
isalnum
(
fcc_str
[
1
])
&&
isalnum
(
fcc_str
[
2
])
&&
isalnum
(
fcc_str
[
3
]))
return
wine_dbg_sprintf
(
"%s"
,
fcc_str
);
return
wine_dbg_sprintf
(
"0x%08x"
,
fcc
);
}
static
WINE_HIC
*
MSVIDEO_FirstHic
/* = NULL */
;
...
...
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