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
53292172
Commit
53292172
authored
Jan 24, 1999
by
Guy Albertelli
Committed by
Alexandre Julliard
Jan 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished GetTextCharsetInfo routine.
parent
f7e185d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
text.c
objects/text.c
+4
-3
No files found.
objects/text.c
View file @
53292172
...
@@ -762,9 +762,8 @@ UINT32 WINAPI GetTextCharsetInfo(
...
@@ -762,9 +762,8 @@ UINT32 WINAPI GetTextCharsetInfo(
HGDIOBJ32
hFont
;
HGDIOBJ32
hFont
;
UINT32
charSet
=
DEFAULT_CHARSET
;
UINT32
charSet
=
DEFAULT_CHARSET
;
LOGFONT32W
lf
;
LOGFONT32W
lf
;
CHARSETINFO
csinfo
;
if
(
fs
!=
NULL
)
FIXME
(
text
,
"(0x%x,%p,%08lx): stub
\n
"
,
hdc
,
fs
,
flags
);
hFont
=
GetCurrentObject
(
hdc
,
OBJ_FONT
);
hFont
=
GetCurrentObject
(
hdc
,
OBJ_FONT
);
if
(
hFont
==
0
)
if
(
hFont
==
0
)
return
(
DEFAULT_CHARSET
);
return
(
DEFAULT_CHARSET
);
...
@@ -772,7 +771,9 @@ UINT32 WINAPI GetTextCharsetInfo(
...
@@ -772,7 +771,9 @@ UINT32 WINAPI GetTextCharsetInfo(
charSet
=
lf
.
lfCharSet
;
charSet
=
lf
.
lfCharSet
;
if
(
fs
!=
NULL
)
{
if
(
fs
!=
NULL
)
{
/* ... fill fontstruct too ... still to do*/
if
(
!
TranslateCharsetInfo
(
charSet
,
&
csinfo
,
TCI_SRCCHARSET
))
return
(
DEFAULT_CHARSET
);
memcpy
(
fs
,
&
csinfo
.
fs
,
sizeof
(
FONTSIGNATURE
));
}
}
return
charSet
;
return
charSet
;
}
}
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