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
bb91e877
Commit
bb91e877
authored
May 22, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Silence warning for name entries with platform 3/encoding 10.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8962f822
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
opentype.c
dlls/dwrite/opentype.c
+4
-3
No files found.
dlls/dwrite/opentype.c
View file @
bb91e877
...
...
@@ -778,7 +778,7 @@ typedef struct {
enum
TT_NAME_WINDOWS_ENCODING_ID
{
TT_NAME_WINDOWS_ENCODING_SYMBOL
=
0
,
TT_NAME_WINDOWS_ENCODING_U
CS2
,
TT_NAME_WINDOWS_ENCODING_U
NICODE_BMP
,
TT_NAME_WINDOWS_ENCODING_SJIS
,
TT_NAME_WINDOWS_ENCODING_PRC
,
TT_NAME_WINDOWS_ENCODING_BIG5
,
...
...
@@ -787,7 +787,7 @@ enum TT_NAME_WINDOWS_ENCODING_ID
TT_NAME_WINDOWS_ENCODING_RESERVED1
,
TT_NAME_WINDOWS_ENCODING_RESERVED2
,
TT_NAME_WINDOWS_ENCODING_RESERVED3
,
TT_NAME_WINDOWS_ENCODING_U
CS4
TT_NAME_WINDOWS_ENCODING_U
NICODE_FULL
};
enum
TT_NAME_MAC_ENCODING_ID
...
...
@@ -1972,7 +1972,8 @@ static UINT get_name_record_codepage(enum OPENTYPE_PLATFORM_ID platform, USHORT
switch
(
encoding
)
{
case
TT_NAME_WINDOWS_ENCODING_SYMBOL
:
case
TT_NAME_WINDOWS_ENCODING_UCS2
:
case
TT_NAME_WINDOWS_ENCODING_UNICODE_BMP
:
case
TT_NAME_WINDOWS_ENCODING_UNICODE_FULL
:
break
;
case
TT_NAME_WINDOWS_ENCODING_SJIS
:
codepage
=
932
;
...
...
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