aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorJuanma Barranquero2010-07-07 11:45:28 +0200
committerJuanma Barranquero2010-07-07 11:45:28 +0200
commited3751c8245cbf523caf4975f654d459f070ea9a (patch)
tree1bc6a7e69181867c76389dbaca292f8d29af351a /src/w32term.c
parentcf84bb53567cf64b3dade9e9abeaef289371f0cc (diff)
downloademacs-ed3751c8245cbf523caf4975f654d459f070ea9a.tar.gz
emacs-ed3751c8245cbf523caf4975f654d459f070ea9a.zip
Fix whitespace to follow coding guidelines.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 5dfe6a363d3..1a953be944b 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -2359,7 +2359,7 @@ x_draw_glyph_string (struct glyph_string *s)
2359 2359
2360 /* Draw strike-through. */ 2360 /* Draw strike-through. */
2361 if (s->face->strike_through_p 2361 if (s->face->strike_through_p
2362 && !FONT_TEXTMETRIC(s->font).tmStruckOut) 2362 && !FONT_TEXTMETRIC (s->font).tmStruckOut)
2363 { 2363 {
2364 unsigned long h = 1; 2364 unsigned long h = 1;
2365 unsigned long dy = (s->height - h) / 2; 2365 unsigned long dy = (s->height - h) / 2;
@@ -3294,7 +3294,7 @@ w32_set_scroll_bar_thumb (struct scroll_bar *bar,
3294 BLOCK_INPUT; 3294 BLOCK_INPUT;
3295 si.cbSize = sizeof (si); 3295 si.cbSize = sizeof (si);
3296 si.fMask = SIF_POS | SIF_PAGE; 3296 si.fMask = SIF_POS | SIF_PAGE;
3297 GetScrollInfo(w, SB_CTL, &si); 3297 GetScrollInfo (w, SB_CTL, &si);
3298 near_bottom_p = si.nPos + si.nPage >= range; 3298 near_bottom_p = si.nPos + si.nPage >= range;
3299 UNBLOCK_INPUT; 3299 UNBLOCK_INPUT;
3300 if (!near_bottom_p) 3300 if (!near_bottom_p)
@@ -4169,7 +4169,7 @@ w32_read_socket (struct terminal *terminal, int expected,
4169 temp_index = 0; 4169 temp_index = 0;
4170 temp_buffer[temp_index++] = msg.msg.wParam; 4170 temp_buffer[temp_index++] = msg.msg.wParam;
4171 inev.kind = MULTIMEDIA_KEY_EVENT; 4171 inev.kind = MULTIMEDIA_KEY_EVENT;
4172 inev.code = GET_APPCOMMAND_LPARAM(msg.msg.lParam); 4172 inev.code = GET_APPCOMMAND_LPARAM (msg.msg.lParam);
4173 inev.modifiers = msg.dwModifiers; 4173 inev.modifiers = msg.dwModifiers;
4174 XSETFRAME (inev.frame_or_window, f); 4174 XSETFRAME (inev.frame_or_window, f);
4175 inev.timestamp = msg.msg.time; 4175 inev.timestamp = msg.msg.time;
@@ -4217,7 +4217,7 @@ w32_read_socket (struct terminal *terminal, int expected,
4217 selected now and last mouse movement event was 4217 selected now and last mouse movement event was
4218 not in it. Minibuffer window will be selected 4218 not in it. Minibuffer window will be selected
4219 only when it is active. */ 4219 only when it is active. */
4220 if (WINDOWP(window) 4220 if (WINDOWP (window)
4221 && !EQ (window, last_window) 4221 && !EQ (window, last_window)
4222 && !EQ (window, selected_window) 4222 && !EQ (window, selected_window)
4223 /* For click-to-focus window managers 4223 /* For click-to-focus window managers
@@ -5344,8 +5344,8 @@ x_set_window_size (struct frame *f, int change_gravity, int cols, int rows)
5344 rect.right = pixelwidth; 5344 rect.right = pixelwidth;
5345 rect.bottom = pixelheight; 5345 rect.bottom = pixelheight;
5346 5346
5347 AdjustWindowRect(&rect, f->output_data.w32->dwStyle, 5347 AdjustWindowRect (&rect, f->output_data.w32->dwStyle,
5348 FRAME_EXTERNAL_MENU_BAR (f)); 5348 FRAME_EXTERNAL_MENU_BAR (f));
5349 5349
5350 my_set_window_pos (FRAME_W32_WINDOW (f), 5350 my_set_window_pos (FRAME_W32_WINDOW (f),
5351 NULL, 5351 NULL,
@@ -5587,8 +5587,8 @@ x_make_frame_visible (struct frame *f)
5587 5587
5588 /* Adjust vertical window position in order to avoid being 5588 /* Adjust vertical window position in order to avoid being
5589 covered by a task bar placed at the bottom of the desktop. */ 5589 covered by a task bar placed at the bottom of the desktop. */
5590 SystemParametersInfo(SPI_GETWORKAREA, 0, &workarea_rect, 0); 5590 SystemParametersInfo (SPI_GETWORKAREA, 0, &workarea_rect, 0);
5591 GetWindowRect(FRAME_W32_WINDOW(f), &window_rect); 5591 GetWindowRect (FRAME_W32_WINDOW(f), &window_rect);
5592 if (window_rect.bottom > workarea_rect.bottom 5592 if (window_rect.bottom > workarea_rect.bottom
5593 && window_rect.top > workarea_rect.top) 5593 && window_rect.top > workarea_rect.top)
5594 f->top_pos = max (window_rect.top 5594 f->top_pos = max (window_rect.top
@@ -6145,7 +6145,7 @@ x_delete_display (struct w32_display_info *dpyinfo)
6145 } 6145 }
6146 dpyinfo->color_list = NULL; 6146 dpyinfo->color_list = NULL;
6147 if (dpyinfo->palette) 6147 if (dpyinfo->palette)
6148 DeleteObject(dpyinfo->palette); 6148 DeleteObject (dpyinfo->palette);
6149 } 6149 }
6150 xfree (dpyinfo->w32_id_name); 6150 xfree (dpyinfo->w32_id_name);
6151 6151