aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/haiku_support.cc2
-rw-r--r--src/haikuterm.c2
-rw-r--r--src/image.c2
-rw-r--r--src/lread.c2
-rw-r--r--src/pgtkfns.c4
-rw-r--r--src/pgtkterm.c2
-rw-r--r--src/pgtkterm.h2
-rw-r--r--src/sort.c2
-rw-r--r--src/w32term.c2
-rw-r--r--src/xterm.c8
10 files changed, 14 insertions, 14 deletions
diff --git a/src/haiku_support.cc b/src/haiku_support.cc
index ac2f4f39ea0..2143f14dc97 100644
--- a/src/haiku_support.cc
+++ b/src/haiku_support.cc
@@ -143,7 +143,7 @@ struct font_selection_dialog_message
143 /* Whether or not font selection was cancelled. */ 143 /* Whether or not font selection was cancelled. */
144 bool_bf cancel : 1; 144 bool_bf cancel : 1;
145 145
146 /* Whether or not a size was explictly specified. */ 146 /* Whether or not a size was explicitly specified. */
147 bool_bf size_specified : 1; 147 bool_bf size_specified : 1;
148 148
149 /* The index of the selected font family. */ 149 /* The index of the selected font family. */
diff --git a/src/haikuterm.c b/src/haikuterm.c
index 57f5b052f6d..df0cd82a39e 100644
--- a/src/haikuterm.c
+++ b/src/haikuterm.c
@@ -3036,7 +3036,7 @@ haiku_flush_dirty_back_buffer_on (struct frame *f)
3036 haiku_flip_buffers (f); 3036 haiku_flip_buffers (f);
3037} 3037}
3038 3038
3039/* N.B. that support for TYPE must be explictly added to 3039/* N.B. that support for TYPE must be explicitly added to
3040 haiku_read_socket. */ 3040 haiku_read_socket. */
3041void 3041void
3042haiku_wait_for_event (struct frame *f, int type) 3042haiku_wait_for_event (struct frame *f, int type)
diff --git a/src/image.c b/src/image.c
index dfa53279927..18e9e72d83c 100644
--- a/src/image.c
+++ b/src/image.c
@@ -9108,7 +9108,7 @@ gif_load (struct frame *f, struct image *img)
9108 goto gif_error; 9108 goto gif_error;
9109 } 9109 }
9110 9110
9111 /* It's an animated image, so initalize the cache. */ 9111 /* It's an animated image, so initialize the cache. */
9112 if (cache && !cache->handle) 9112 if (cache && !cache->handle)
9113 { 9113 {
9114 cache->handle = gif; 9114 cache->handle = gif;
diff --git a/src/lread.c b/src/lread.c
index 2538851bac6..409e97cdfa6 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -3497,7 +3497,7 @@ read1 (Lisp_Object readcharfun, int *pch, bool first_in_list, bool locate_syms)
3497 3497
3498 /* Optimisation: since the placeholder is already 3498 /* Optimisation: since the placeholder is already
3499 a cons, repurpose it as the actual value. 3499 a cons, repurpose it as the actual value.
3500 This allows us to skip the substition below, 3500 This allows us to skip the substitution below,
3501 since the placeholder is already referenced 3501 since the placeholder is already referenced
3502 inside TEM at the appropriate places. */ 3502 inside TEM at the appropriate places. */
3503 Fsetcar (placeholder, XCAR (tem)); 3503 Fsetcar (placeholder, XCAR (tem));
diff --git a/src/pgtkfns.c b/src/pgtkfns.c
index a0fcf70f31b..1feb3fe250d 100644
--- a/src/pgtkfns.c
+++ b/src/pgtkfns.c
@@ -848,7 +848,7 @@ pgtk_set_scroll_bar_background (struct frame *f, Lisp_Object new_value,
848 error ("Unknown color."); 848 error ("Unknown color.");
849 849
850 /* On pgtk, this frame parameter should be ignored, and honor 850 /* On pgtk, this frame parameter should be ignored, and honor
851 gtk theme. (It honors the GTK theme if not explictly set, so 851 gtk theme. (It honors the GTK theme if not explicitly set, so
852 I see no harm in letting users tinker a bit more.) */ 852 I see no harm in letting users tinker a bit more.) */
853 char css[64]; 853 char css[64];
854 sprintf (css, "scrollbar trough { background-color: #%06x; }", 854 sprintf (css, "scrollbar trough { background-color: #%06x; }",
@@ -2853,7 +2853,7 @@ x_create_tip_frame (struct pgtk_display_info *dpyinfo, Lisp_Object parms, struct
2853 Frame parameters may be changed if .Xdefaults contains 2853 Frame parameters may be changed if .Xdefaults contains
2854 specifications for the default font. For example, if there is an 2854 specifications for the default font. For example, if there is an
2855 `Emacs.default.attributeBackground: pink', the `background-color' 2855 `Emacs.default.attributeBackground: pink', the `background-color'
2856 attribute of the frame get's set, which let's the internal border 2856 attribute of the frame gets set, which lets the internal border
2857 of the tooltip frame appear in pink. Prevent this. */ 2857 of the tooltip frame appear in pink. Prevent this. */
2858 { 2858 {
2859 Lisp_Object bg = Fframe_parameter (frame, Qbackground_color); 2859 Lisp_Object bg = Fframe_parameter (frame, Qbackground_color);
diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index 11ab40a0d39..b9d0b7b512e 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -2551,7 +2551,7 @@ pgtk_draw_glyph_string (struct glyph_string *s)
2551 } 2551 }
2552 2552
2553 /* Ignore minimum_offset if the amount of pixels was 2553 /* Ignore minimum_offset if the amount of pixels was
2554 explictly specified. */ 2554 explicitly specified. */
2555 if (!s->face->underline_pixels_above_descent_line) 2555 if (!s->face->underline_pixels_above_descent_line)
2556 position = max (position, underline_minimum_offset); 2556 position = max (position, underline_minimum_offset);
2557 } 2557 }
diff --git a/src/pgtkterm.h b/src/pgtkterm.h
index 20c161e63b9..e31e62ae193 100644
--- a/src/pgtkterm.h
+++ b/src/pgtkterm.h
@@ -96,7 +96,7 @@ struct scroll_bar
96 editing large files, we establish a minimum height by always 96 editing large files, we establish a minimum height by always
97 drawing handle bottoms VERTICAL_SCROLL_BAR_MIN_HANDLE pixels below 97 drawing handle bottoms VERTICAL_SCROLL_BAR_MIN_HANDLE pixels below
98 where they would be normally; the bottom and top are in a 98 where they would be normally; the bottom and top are in a
99 different co-ordinate system. */ 99 different coordinate system. */
100 int start, end; 100 int start, end;
101 101
102 /* If the scroll bar handle is currently being dragged by the user, 102 /* If the scroll bar handle is currently being dragged by the user,
diff --git a/src/sort.c b/src/sort.c
index c7ccfc23055..d10ae692d33 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -783,7 +783,7 @@ merge_at (merge_state *ms, const ptrdiff_t i)
783} 783}
784 784
785 785
786/* Compute the "power" of the first of two adjacent runs begining at 786/* Compute the "power" of the first of two adjacent runs beginning at
787 index S1, with the first having length N1 and the second (starting 787 index S1, with the first having length N1 and the second (starting
788 at index S1+N1) having length N2. The run has total length N. */ 788 at index S1+N1) having length N2. The run has total length N. */
789 789
diff --git a/src/w32term.c b/src/w32term.c
index 19786da3a6d..da7ac379723 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -2720,7 +2720,7 @@ w32_draw_glyph_string (struct glyph_string *s)
2720 2720
2721 if (!(s->face->underline_at_descent_line_p 2721 if (!(s->face->underline_at_descent_line_p
2722 /* Ignore minimum_offset if the amount of pixels 2722 /* Ignore minimum_offset if the amount of pixels
2723 was explictly specified. */ 2723 was explicitly specified. */
2724 && s->face->underline_pixels_above_descent_line)) 2724 && s->face->underline_pixels_above_descent_line))
2725 position = max (position, minimum_offset); 2725 position = max (position, minimum_offset);
2726 } 2726 }
diff --git a/src/xterm.c b/src/xterm.c
index bb92e1bbe66..21c31271ca5 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -78,7 +78,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
78 INPUT FOCUS 78 INPUT FOCUS
79 79
80 Under X, the window where keyboard input is sent is not always 80 Under X, the window where keyboard input is sent is not always
81 explictly defined. When there is a focus window, it receives what 81 explicitly defined. When there is a focus window, it receives what
82 is referred to as "explicit focus", but when there is none, it 82 is referred to as "explicit focus", but when there is none, it
83 receives "implicit focus" whenever the pointer enters it, and loses 83 receives "implicit focus" whenever the pointer enters it, and loses
84 that focus when the pointer leaves. When the toplevel window of a 84 that focus when the pointer leaves. When the toplevel window of a
@@ -2515,7 +2515,7 @@ x_dnd_compute_toplevels (struct x_display_info *dpyinfo)
2515 } 2515 }
2516 2516
2517 /* And the common case where there is no input rect and the 2517 /* And the common case where there is no input rect and the
2518 bouding rect equals the window dimensions. */ 2518 bounding rect equals the window dimensions. */
2519 2519
2520 if (tem->n_input_rects == -1 2520 if (tem->n_input_rects == -1
2521 && tem->n_bounding_rects == 1 2521 && tem->n_bounding_rects == 1
@@ -8781,7 +8781,7 @@ x_draw_glyph_string (struct glyph_string *s)
8781 } 8781 }
8782 8782
8783 /* Ignore minimum_offset if the amount of pixels was 8783 /* Ignore minimum_offset if the amount of pixels was
8784 explictly specified. */ 8784 explicitly specified. */
8785 if (!s->face->underline_pixels_above_descent_line) 8785 if (!s->face->underline_pixels_above_descent_line)
8786 position = max (position, minimum_offset); 8786 position = max (position, minimum_offset);
8787 } 8787 }
@@ -19973,7 +19973,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
19973 } 19973 }
19974 19974
19975 /* And the common case where there is no input rect and the 19975 /* And the common case where there is no input rect and the
19976 bouding rect equals the window dimensions. */ 19976 bounding rect equals the window dimensions. */
19977 19977
19978 if (tem->n_input_rects == -1 19978 if (tem->n_input_rects == -1
19979 && tem->n_bounding_rects == 1 19979 && tem->n_bounding_rects == 1