[PATCH] wineps.drv: Remove duplicate condition in PSDRV_SelectFont().
Andrey Gusev
andrey.goosev at gmail.com
Wed Sep 4 12:41:43 CDT 2019
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/wineps.drv/font.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/wineps.drv/font.c b/dlls/wineps.drv/font.c
index d6e330159c..88c2777f87 100644
--- a/dlls/wineps.drv/font.c
+++ b/dlls/wineps.drv/font.c
@@ -75,9 +75,7 @@ HFONT CDECL PSDRV_SelectFont( PHYSDEV dev, HFONT hfont, UINT *aa_flags )
strcpy(FaceName, "Symbol");
break;
}
- }
- if(FaceName[0] == '\0') {
switch(lf.lfPitchAndFamily & 0x0f) {
case VARIABLE_PITCH:
strcpy(FaceName, "Times");
--
2.21.0
More information about the wine-devel
mailing list