[vlc-commits] [Git][videolan/vlc][master] freetype/win32: keep iterating until we get a match
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sat Dec 2 15:36:38 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
7fe0b8e7 by Steve Lhomme at 2023-12-02T15:07:10+00:00
freetype/win32: keep iterating until we get a match
See documentation [1].
[1] https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nc-wingdi-enhmfenumproc
- - - - -
1 changed file:
- modules/text_renderer/freetype/fonts/win32.c
Changes:
=====================================
modules/text_renderer/freetype/fonts/win32.c
=====================================
@@ -524,8 +524,9 @@ static int CALLBACK MetaFileEnumProc( HDC hdc, HANDLETABLE* table,
( const EMREXTCREATEFONTINDIRECTW * ) record;
*( ( LOGFONT * ) log_font ) = create_font_record->elfw.elfLogFont;
+ return 1;
}
- return 1;
+ return 0;
}
/**
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7fe0b8e73e3ae6bbbc9003dabb58c7972b20a042
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7fe0b8e73e3ae6bbbc9003dabb58c7972b20a042
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list