diff options
Diffstat (limited to 'src/w32font.c')
| -rw-r--r-- | src/w32font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32font.c b/src/w32font.c index 5c5a15cc340..105daa06365 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -1967,7 +1967,7 @@ static void fill_in_logfont (FRAME_PTR f, LOGFONT *logfont, Lisp_Object font_spec) { Lisp_Object tmp, extra; - int dpi = FRAME_W32_DISPLAY_INFO (f)->resy; + int dpi = FRAME_RES_Y (f); tmp = AREF (font_spec, FONT_DPI_INDEX); if (INTEGERP (tmp)) @@ -2467,7 +2467,7 @@ If EXCLUDE-PROPORTIONAL is non-nil, exclude proportional fonts in the font selection dialog. */) (Lisp_Object frame, Lisp_Object exclude_proportional) { - FRAME_PTR f = check_x_frame (frame); + FRAME_PTR f = decode_window_system_frame (frame); CHOOSEFONT cf; LOGFONT lf; TEXTMETRIC tm; |
