diff options
| author | Paul Eggert | 2016-01-25 08:08:24 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-01-25 08:09:09 -0800 |
| commit | a528a60f48f6b939c5014c96d3445de13d2ed243 (patch) | |
| tree | 8240a9b0e1fa63d38e514e68276e0b6c4e2993b8 /src | |
| parent | 21beb19d80b6aba2c2b736b3e1d031f1ef0e743d (diff) | |
| download | emacs-a528a60f48f6b939c5014c96d3445de13d2ed243.tar.gz emacs-a528a60f48f6b939c5014c96d3445de13d2ed243.zip | |
Spelling fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 2 | ||||
| -rw-r--r-- | src/xwidget.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 860c55de70f..19083ef21f7 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -1170,7 +1170,7 @@ ns_clip_to_row (struct window *w, struct glyph_row *row, | |||
| 1170 | // GNUstep doesn't provide named images. This was reported in | 1170 | // GNUstep doesn't provide named images. This was reported in |
| 1171 | // 2011, see https://savannah.gnu.org/bugs/?33396 | 1171 | // 2011, see https://savannah.gnu.org/bugs/?33396 |
| 1172 | // | 1172 | // |
| 1173 | // As a drop in replacment, a semi tranparent gray square is used. | 1173 | // As a drop in replacement, a semitransparent gray square is used. |
| 1174 | self.image = [[NSImage alloc] initWithSize:NSMakeSize(32, 32)]; | 1174 | self.image = [[NSImage alloc] initWithSize:NSMakeSize(32, 32)]; |
| 1175 | [self.image lockFocus]; | 1175 | [self.image lockFocus]; |
| 1176 | [[NSColor colorForEmacsRed:0.5 green:0.5 blue:0.5 alpha:0.5] set]; | 1176 | [[NSColor colorForEmacsRed:0.5 green:0.5 blue:0.5 alpha:0.5] set]; |
diff --git a/src/xwidget.c b/src/xwidget.c index 91a92c0ca4c..9450bdf7870 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -393,7 +393,7 @@ webkit_mime_type_policy_typedecision_requested_cb | |||
| 393 | { | 393 | { |
| 394 | /* This function makes webkit send a download signal for all unknown | 394 | /* This function makes webkit send a download signal for all unknown |
| 395 | mime types. TODO: Defer the decision to Lisp, so that it's | 395 | mime types. TODO: Defer the decision to Lisp, so that it's |
| 396 | possible to make Emacs handle teext mime for instance.xs. */ | 396 | possible to make Emacs handle mime text for instance. */ |
| 397 | if (!webkit_web_view_can_show_mime_type (webView, mimetype)) | 397 | if (!webkit_web_view_can_show_mime_type (webView, mimetype)) |
| 398 | { | 398 | { |
| 399 | webkit_web_policy_decision_download (policy_decision); | 399 | webkit_web_policy_decision_download (policy_decision); |
| @@ -594,7 +594,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s) | |||
| 594 | WINDOW_BOTTOM_EDGE_Y (s->w) - WINDOW_MODE_LINE_HEIGHT (s->w) - y); | 594 | WINDOW_BOTTOM_EDGE_Y (s->w) - WINDOW_MODE_LINE_HEIGHT (s->w) - y); |
| 595 | clip_top = max (0, WINDOW_TOP_EDGE_Y (s->w) - y); | 595 | clip_top = max (0, WINDOW_TOP_EDGE_Y (s->w) - y); |
| 596 | 596 | ||
| 597 | /* We are conserned with movement of the onscreen area. The area | 597 | /* We are concerned with movement of the onscreen area. The area |
| 598 | might sit still when the widget actually moves. This happens | 598 | might sit still when the widget actually moves. This happens |
| 599 | when an Emacs window border moves across a widget window. So, if | 599 | when an Emacs window border moves across a widget window. So, if |
| 600 | any corner of the outer widget clipping window moves, that counts | 600 | any corner of the outer widget clipping window moves, that counts |
| @@ -615,7 +615,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s) | |||
| 615 | /* Clip the widget window if some parts happen to be outside | 615 | /* Clip the widget window if some parts happen to be outside |
| 616 | drawable area. An Emacs window is not a gtk window. A gtk window | 616 | drawable area. An Emacs window is not a gtk window. A gtk window |
| 617 | covers the entire frame. Clipping might have changed even if we | 617 | covers the entire frame. Clipping might have changed even if we |
| 618 | havent actualy moved, we try figure out when we need to reclip | 618 | haven't actually moved; try to figure out when we need to reclip |
| 619 | for real. */ | 619 | for real. */ |
| 620 | if (xv->clip_right != clip_right | 620 | if (xv->clip_right != clip_right |
| 621 | || xv->clip_bottom != clip_bottom | 621 | || xv->clip_bottom != clip_bottom |
| @@ -1132,7 +1132,7 @@ xwidget_end_redisplay (struct window *w, struct glyph_matrix *matrix) | |||
| 1132 | not in the desired matrix. | 1132 | not in the desired matrix. |
| 1133 | 1133 | ||
| 1134 | This only takes care of xwidgets in active windows. If a window | 1134 | This only takes care of xwidgets in active windows. If a window |
| 1135 | goes away from screen xwidget views wust be deleted. | 1135 | goes away from the screen, xwidget views must be deleted. |
| 1136 | 1136 | ||
| 1137 | dump_glyph_matrix (matrix, 2); */ | 1137 | dump_glyph_matrix (matrix, 2); */ |
| 1138 | for (i = 0; i < matrix->nrows; ++i) | 1138 | for (i = 0; i < matrix->nrows; ++i) |