aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2000-01-30 18:32:14 +0000
committerJason Rumney2000-01-30 18:32:14 +0000
commit55689ab16aa597581e7fc50b63fdb97e2e50d534 (patch)
tree52c7355feea2ec560efe14d4662c128e8d9c9d41 /src
parente645e77b4ba808a48885e121a687daad8d981c0c (diff)
downloademacs-55689ab16aa597581e7fc50b63fdb97e2e50d534.tar.gz
emacs-55689ab16aa597581e7fc50b63fdb97e2e50d534.zip
(w32_term_init): Swap resx and height_in, resy and
width_in. Use w32_defined_color in place of defined_color.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 0e3df61093f..dff7bf936d3 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -9608,8 +9608,8 @@ w32_term_init (display_name, xrm_option, resource_name)
9608 dpyinfo->root_window = GetDesktopWindow (); 9608 dpyinfo->root_window = GetDesktopWindow ();
9609 dpyinfo->n_planes = GetDeviceCaps (hdc, PLANES); 9609 dpyinfo->n_planes = GetDeviceCaps (hdc, PLANES);
9610 dpyinfo->n_cbits = GetDeviceCaps (hdc, BITSPIXEL); 9610 dpyinfo->n_cbits = GetDeviceCaps (hdc, BITSPIXEL);
9611 dpyinfo->height_in = GetDeviceCaps (hdc, LOGPIXELSX); 9611 dpyinfo->resx = GetDeviceCaps (hdc, LOGPIXELSX);
9612 dpyinfo->width_in = GetDeviceCaps (hdc, LOGPIXELSY); 9612 dpyinfo->resy = GetDeviceCaps (hdc, LOGPIXELSY);
9613 dpyinfo->has_palette = GetDeviceCaps (hdc, RASTERCAPS) & RC_PALETTE; 9613 dpyinfo->has_palette = GetDeviceCaps (hdc, RASTERCAPS) & RC_PALETTE;
9614 dpyinfo->grabbed = 0; 9614 dpyinfo->grabbed = 0;
9615 dpyinfo->reference_count = 0; 9615 dpyinfo->reference_count = 0;
@@ -9632,8 +9632,8 @@ w32_term_init (display_name, xrm_option, resource_name)
9632 dpyinfo->w32_focus_event_frame = 0; 9632 dpyinfo->w32_focus_event_frame = 0;
9633 dpyinfo->w32_highlight_frame = 0; 9633 dpyinfo->w32_highlight_frame = 0;
9634 dpyinfo->image_cache = make_image_cache (); 9634 dpyinfo->image_cache = make_image_cache ();
9635 dpyinfo->resx = dpyinfo->height / dpyinfo->height_in; 9635 dpyinfo->height_in = dpyinfo->height / dpyinfo->resx;
9636 dpyinfo->resy = dpyinfo->width / dpyinfo->width_in; 9636 dpyinfo->width_in = dpyinfo->width / dpyinfo->resy;
9637 ReleaseDC (GetDesktopWindow (), hdc); 9637 ReleaseDC (GetDesktopWindow (), hdc);
9638 /* NTEMACS_TODO: dpyinfo->gray */ 9638 /* NTEMACS_TODO: dpyinfo->gray */
9639 /* Determine if there is a middle mouse button, to allow parse_button 9639 /* Determine if there is a middle mouse button, to allow parse_button
@@ -9644,8 +9644,8 @@ w32_term_init (display_name, xrm_option, resource_name)
9644 /* initialise palette with white and black */ 9644 /* initialise palette with white and black */
9645 { 9645 {
9646 COLORREF color; 9646 COLORREF color;
9647 defined_color (0, "white", &color, 1); 9647 w32_defined_color (0, "white", &color, 1);
9648 defined_color (0, "black", &color, 1); 9648 w32_defined_color (0, "black", &color, 1);
9649 } 9649 }
9650 9650
9651#ifndef F_SETOWN_BUG 9651#ifndef F_SETOWN_BUG