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
c11d4d9a
Commit
c11d4d9a
authored
May 20, 2003
by
Carlos Lozano
Committed by
Alexandre Julliard
May 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid printing an uninitialized buffer.
parent
d1d5ca53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
xvidmode.c
dlls/x11drv/xvidmode.c
+2
-0
No files found.
dlls/x11drv/xvidmode.c
View file @
c11d4d9a
...
...
@@ -466,6 +466,7 @@ static const char * _CDS_flags(DWORD fields)
_X_FIELD
(
CDS
,
UPDATEREGISTRY
);
_X_FIELD
(
CDS
,
TEST
);
_X_FIELD
(
CDS
,
FULLSCREEN
);
_X_FIELD
(
CDS
,
GLOBAL
);
_X_FIELD
(
CDS
,
SET_PRIMARY
);
_X_FIELD
(
CDS
,
RESET
);
_X_FIELD
(
CDS
,
SETRECT
);
_X_FIELD
(
CDS
,
NORESET
);
*
p
=
0
;
return
wine_dbg_sprintf
(
"%s"
,
buf
);
}
static
const
char
*
_DM_fields
(
DWORD
fields
)
...
...
@@ -475,6 +476,7 @@ static const char * _DM_fields(DWORD fields)
char
*
p
=
buf
;
_X_FIELD
(
DM
,
BITSPERPEL
);
_X_FIELD
(
DM
,
PELSWIDTH
);
_X_FIELD
(
DM
,
PELSHEIGHT
);
_X_FIELD
(
DM
,
DISPLAYFLAGS
);
_X_FIELD
(
DM
,
DISPLAYFREQUENCY
);
_X_FIELD
(
DM
,
POSITION
);
*
p
=
0
;
return
wine_dbg_sprintf
(
"%s"
,
buf
);
}
#undef _X_FIELD
...
...
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