aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2011-07-31 22:38:48 +0200
committerJuanma Barranquero2011-07-31 22:38:48 +0200
commite8500ff4af0d6c390f66a1f6d7d22695e590a8af (patch)
treeb5224f8ed1d730f0a74498e3ebe6571cc331c58c /src
parent811954e3b7ec4513ca796b5e51201d61c9542299 (diff)
downloademacs-e8500ff4af0d6c390f66a1f6d7d22695e590a8af.tar.gz
emacs-e8500ff4af0d6c390f66a1f6d7d22695e590a8af.zip
src/w32term.c: Fix typos in comments.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/w32term.c b/src/w32term.c
index b7c0d61b633..98c4a391953 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1439,7 +1439,7 @@ x_draw_glyphless_glyph_string_foreground (struct glyph_string *s)
1439 1439
1440 Nominally, highlight colors for `3d' faces are calculated by 1440 Nominally, highlight colors for `3d' faces are calculated by
1441 brightening an object's color by a constant scale factor, but this 1441 brightening an object's color by a constant scale factor, but this
1442 doesn't yield good results for dark colors, so for colors who's 1442 doesn't yield good results for dark colors, so for colors whose
1443 brightness is less than this value (on a scale of 0-255) have to 1443 brightness is less than this value (on a scale of 0-255) have to
1444 use an additional additive factor. 1444 use an additional additive factor.
1445 1445
@@ -1618,8 +1618,9 @@ x_setup_relief_colors (struct glyph_string *s)
1618 1618
1619static void 1619static void
1620w32_draw_relief_rect (struct frame *f, 1620w32_draw_relief_rect (struct frame *f,
1621 int left_x, int top_y, int right_x, int bottom_y, int width, 1621 int left_x, int top_y, int right_x, int bottom_y,
1622 int raised_p, int top_p, int bot_p, int left_p, int right_p, 1622 int width, int raised_p,
1623 int top_p, int bot_p, int left_p, int right_p,
1623 RECT *clip_rect) 1624 RECT *clip_rect)
1624{ 1625{
1625 int i; 1626 int i;
@@ -1880,7 +1881,8 @@ x_draw_image_relief (struct glyph_string *s)
1880 if (s->hl == DRAW_IMAGE_SUNKEN 1881 if (s->hl == DRAW_IMAGE_SUNKEN
1881 || s->hl == DRAW_IMAGE_RAISED) 1882 || s->hl == DRAW_IMAGE_RAISED)
1882 { 1883 {
1883 thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief : DEFAULT_TOOL_BAR_BUTTON_RELIEF; 1884 thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief
1885 : DEFAULT_TOOL_BAR_BUTTON_RELIEF;
1884 raised_p = s->hl == DRAW_IMAGE_RAISED; 1886 raised_p = s->hl == DRAW_IMAGE_RAISED;
1885 } 1887 }
1886 else 1888 else
@@ -3486,7 +3488,7 @@ my_destroy_window (struct frame * f, HWND hwnd)
3486 3488
3487/* Create a scroll bar and return the scroll bar vector for it. W is 3489/* Create a scroll bar and return the scroll bar vector for it. W is
3488 the Emacs window on which to create the scroll bar. TOP, LEFT, 3490 the Emacs window on which to create the scroll bar. TOP, LEFT,
3489 WIDTH and HEIGHT are.the pixel coordinates and dimensions of the 3491 WIDTH and HEIGHT are the pixel coordinates and dimensions of the
3490 scroll bar. */ 3492 scroll bar. */
3491 3493
3492static struct scroll_bar * 3494static struct scroll_bar *
@@ -3872,7 +3874,7 @@ w32_scroll_bar_handle_click (struct scroll_bar *bar, W32Msg *msg,
3872 si.fMask = SIF_POS; 3874 si.fMask = SIF_POS;
3873 si.nPos = y; 3875 si.nPos = y;
3874 /* Remember apparent position (we actually lag behind the real 3876 /* Remember apparent position (we actually lag behind the real
3875 position, so don't set that directly. */ 3877 position, so don't set that directly). */
3876 last_scroll_bar_drag_pos = y; 3878 last_scroll_bar_drag_pos = y;
3877 3879
3878 SetScrollInfo (SCROLL_BAR_W32_WINDOW (bar), SB_CTL, &si, FALSE); 3880 SetScrollInfo (SCROLL_BAR_W32_WINDOW (bar), SB_CTL, &si, FALSE);
@@ -4771,7 +4773,7 @@ w32_read_socket (struct terminal *terminal, int expected,
4771 pending_autoraise_frame = 0; 4773 pending_autoraise_frame = 0;
4772 } 4774 }
4773 4775
4774 /* Check which frames are still visisble, if we have enqueued any user 4776 /* Check which frames are still visible, if we have enqueued any user
4775 events or been notified of events that may affect visibility. We 4777 events or been notified of events that may affect visibility. We
4776 do this here because there doesn't seem to be any direct 4778 do this here because there doesn't seem to be any direct
4777 notification from Windows that the visibility of a window has 4779 notification from Windows that the visibility of a window has