Skip to content

Commit ebfb6c7

Browse files
committed
[CHARMAP][IMAGESOFT]
Be sure to enumerate *all* the fonts. svn path=/trunk/; revision=62726
1 parent 4bd491d commit ebfb6c7

File tree

2 files changed

+2
-2
lines changed
  • reactos/base/applications/charmap
  • rosapps/applications/imagesoft

2 files changed

+2
-2
lines changed

reactos/base/applications/charmap/charmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ EnumFontNames(ENUMLOGFONTEXW *lpelfe,
3636

3737
/* make sure font doesn't already exist in our list */
3838
if(SendMessageW(hwndCombo,
39-
CB_FINDSTRING,
39+
CB_FINDSTRINGEXACT,
4040
0,
4141
(LPARAM)pszName) == CB_ERR)
4242
{

rosapps/applications/imagesoft/font.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ EnumFontNames(ENUMLOGFONTEX *lpelfe,
5050

5151
/* make sure font doesn't already exist in our list */
5252
if(SendMessage(hwndCombo,
53-
CB_FINDSTRING,
53+
CB_FINDSTRINGEXACT,
5454
0,
5555
(LPARAM)pszName) == CB_ERR)
5656
{

0 commit comments

Comments
 (0)