aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2008-08-31 00:56:58 +0000
committerStefan Monnier2008-08-31 00:56:58 +0000
commitc7c7a80c12c4c4cc79c69c77aa351df0c0b37943 (patch)
treee6908c2b7614a1ca80e1f8b942ec0993b9350fb3 /src
parenta02a1384456048203df5989be6280e0974747152 (diff)
downloademacs-c7c7a80c12c4c4cc79c69c77aa351df0c0b37943.tar.gz
emacs-c7c7a80c12c4c4cc79c69c77aa351df0c0b37943.zip
* font.h (font_range):
* fileio.c (report_file_error): * composite.c (composition_update_it): Yet another int/Lisp_Oject mixup.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/composite.c2
-rw-r--r--src/fileio.c2
-rw-r--r--src/font.h6
4 files changed, 11 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8466ab7ba93..22ffbcf3ce9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12008-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * font.h (font_range):
4 * fileio.c (report_file_error):
5 * composite.c (composition_update_it): Yet another int/Lisp_Oject mixup.
6
12008-08-30 Glenn Morris <rgm@gnu.org> 72008-08-30 Glenn Morris <rgm@gnu.org>
2 8
3 * frame.c (Fmodify_frame_parameters): Doc fix. 9 * frame.c (Fmodify_frame_parameters): Doc fix.
diff --git a/src/composite.c b/src/composite.c
index d535e1e73ce..257ca66632d 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -1142,7 +1142,7 @@ composition_update_it (cmp_it, charpos, bytepos, string)
1142 Lisp_Object glyph = LGSTRING_GLYPH (gstring, cmp_it->from); 1142 Lisp_Object glyph = LGSTRING_GLYPH (gstring, cmp_it->from);
1143 int from = LGLYPH_FROM (glyph); 1143 int from = LGLYPH_FROM (glyph);
1144 1144
1145 c = LGSTRING_CHAR (gstring, from); 1145 c = XINT (LGSTRING_CHAR (gstring, from));
1146 cmp_it->nchars = LGLYPH_TO (glyph) - from + 1; 1146 cmp_it->nchars = LGLYPH_TO (glyph) - from + 1;
1147 cmp_it->width = (LGLYPH_WIDTH (glyph) > 0 1147 cmp_it->width = (LGLYPH_WIDTH (glyph) > 0
1148 ? CHAR_WIDTH (LGLYPH_CHAR (glyph)) : 0); 1148 ? CHAR_WIDTH (LGLYPH_CHAR (glyph)) : 0);
diff --git a/src/fileio.c b/src/fileio.c
index bf592fa7c4d..02c41243cb6 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -269,7 +269,7 @@ report_file_error (string, data)
269 269
270 str = (char *) SDATA (errstring); 270 str = (char *) SDATA (errstring);
271 c = STRING_CHAR (str, 0); 271 c = STRING_CHAR (str, 0);
272 Faset (errstring, 0, make_number (DOWNCASE (c))); 272 Faset (errstring, make_number (0), make_number (DOWNCASE (c)));
273 } 273 }
274 274
275 xsignal (Qfile_error, 275 xsignal (Qfile_error,
diff --git a/src/font.h b/src/font.h
index 0235463e548..12781d95384 100644
--- a/src/font.h
+++ b/src/font.h
@@ -757,9 +757,9 @@ extern void free_font_driver_list P_ ((FRAME_PTR f));
757extern Lisp_Object font_update_drivers P_ ((FRAME_PTR f, Lisp_Object list)); 757extern Lisp_Object font_update_drivers P_ ((FRAME_PTR f, Lisp_Object list));
758extern Lisp_Object font_at P_ ((int c, EMACS_INT pos, struct face *face, 758extern Lisp_Object font_at P_ ((int c, EMACS_INT pos, struct face *face,
759 struct window *w, Lisp_Object object)); 759 struct window *w, Lisp_Object object));
760extern EMACS_INT font_range P_ ((EMACS_INT, EMACS_INT *, 760extern Lisp_Object font_range (EMACS_INT, EMACS_INT *,
761 struct window *, struct face *, 761 struct window *, struct face *,
762 Lisp_Object)); 762 Lisp_Object);
763extern void font_fill_lglyph_metrics P_ ((Lisp_Object, Lisp_Object)); 763extern void font_fill_lglyph_metrics P_ ((Lisp_Object, Lisp_Object));
764 764
765extern Lisp_Object font_put_extra P_ ((Lisp_Object font, Lisp_Object prop, 765extern Lisp_Object font_put_extra P_ ((Lisp_Object font, Lisp_Object prop,