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
7ec911ad
Commit
7ec911ad
authored
Jul 07, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Avoid an unnecessary strcpy().
parent
b1edb166
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
directx.c
dlls/wined3d/directx.c
+1
-1
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+1
-1
No files found.
dlls/wined3d/directx.c
View file @
7ec911ad
...
...
@@ -869,7 +869,7 @@ static void fixup_extensions(WineD3D_GL_Info *gl_info, const char *gl_renderer)
driver_version_table
[
i
].
lopart_lo
);
gl_info
->
driver_version_hipart
=
MAKEDWORD_VERSION
(
driver_version_table
[
i
].
hipart_hi
,
driver_version_table
[
i
].
hipart_lo
);
strcpy
(
gl_info
->
driver_description
,
driver_version_table
[
i
].
description
)
;
gl_info
->
driver_description
=
driver_version_table
[
i
].
description
;
break
;
}
}
...
...
dlls/wined3d/wined3d_gl.h
View file @
7ec911ad
...
...
@@ -3954,7 +3954,7 @@ typedef struct _WineD3D_GL_Info {
UINT
vidmem
;
DWORD
driver_version
;
DWORD
driver_version_hipart
;
CHAR
driver_description
[
255
]
;
const
char
*
driver_description
;
/**
* CAPS Constants
*/
...
...
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