[CHARMAP][IMAGESOFT]
[reactos.git] / reactos / base / applications / charmap / charmap.c
index eefa919..f3d7829 100644 (file)
@@ -9,6 +9,9 @@
 
 #include <precomp.h>
 
+#include <commctrl.h>
+#include <richedit.h>
+
 #define ID_ABOUT    0x1
 
 HINSTANCE hInstance;
@@ -33,7 +36,7 @@ EnumFontNames(ENUMLOGFONTEXW *lpelfe,
 
     /* make sure font doesn't already exist in our list */
     if(SendMessageW(hwndCombo,
-                    CB_FINDSTRING,
+                    CB_FINDSTRINGEXACT,
                     0,
                     (LPARAM)pszName) == CB_ERR)
     {