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
09228971
Commit
09228971
authored
Sep 13, 2006
by
Byeong-Sik Jeon
Committed by
Alexandre Julliard
Sep 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fix wrong break statement use.
parent
f2aee453
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
freetype.c
dlls/gdi/freetype.c
+6
-5
No files found.
dlls/gdi/freetype.c
View file @
09228971
...
...
@@ -451,7 +451,6 @@ static Face *find_face_from_filename(const WCHAR *file_name, const WCHAR *face_n
const
char
*
file
;
DWORD
len
=
WideCharToMultiByte
(
CP_UNIXCP
,
0
,
file_name
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
char
*
file_nameA
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
Face
*
ret
=
NULL
;
WideCharToMultiByte
(
CP_UNIXCP
,
0
,
file_name
,
-
1
,
file_nameA
,
len
,
NULL
,
NULL
);
TRACE
(
"looking for file %s name %s
\n
"
,
debugstr_a
(
file_nameA
),
debugstr_w
(
face_name
));
...
...
@@ -467,13 +466,15 @@ static Face *find_face_from_filename(const WCHAR *file_name, const WCHAR *face_n
file
=
face
->
file
;
else
file
++
;
if
(
!
strcmp
(
file
,
file_nameA
))
ret
=
face
;
break
;
if
(
!
strcasecmp
(
file
,
file_nameA
))
{
HeapFree
(
GetProcessHeap
(),
0
,
file_nameA
);
return
face
;
}
}
}
HeapFree
(
GetProcessHeap
(),
0
,
file_nameA
);
return
ret
;
return
NULL
;
}
static
Family
*
find_family_from_name
(
const
WCHAR
*
name
)
...
...
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