Mercurial > emacs
changeset 101943:97c9e9322753
Remove spurious semicolons.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 11 Feb 2009 09:45:12 +0000 |
parents | 48d0501a9a76 |
children | c1fe31abc35f |
files | src/ChangeLog src/casetab.c src/coding.c src/font.c src/fontset.c src/ftfont.c src/xfont.c src/xftfont.c |
diffstat | 8 files changed, 28 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Feb 11 09:22:59 2009 +0000 +++ b/src/ChangeLog Wed Feb 11 09:45:12 2009 +0000 @@ -1,3 +1,13 @@ +2009-02-11 Juanma Barranquero <lekktu@gmail.com> + + * casetab.c (init_casetab_once): + * coding.c (ALLOC_CONVERSION_WORK_AREA): + * font.c (font_update_lface): + * fontset.c (Fnew_fontset): + * ftfont.c (ftfont_drive_otf): + * xfont.c (xfont_open): + * xftfont.c (xftfont_get_xft_draw): Remove spurious semicolons. + 2009-02-11 Stefan Monnier <monnier@iro.umontreal.ca> * fileio.c (Fwrite_region): !NILP -> CONSP.
--- a/src/casetab.c Wed Feb 11 09:22:59 2009 +0000 +++ b/src/casetab.c Wed Feb 11 09:45:12 2009 +0000 @@ -285,7 +285,7 @@ { int c = ((i >= 'A' && i <= 'Z') ? i + ('a' - 'A') : ((i >= 'a' && i <= 'z') ? i + ('A' - 'a') - : i));; + : i)); CHAR_TABLE_SET (up, i, make_number (c)); }
--- a/src/coding.c Wed Feb 11 09:22:59 2009 +0000 +++ b/src/coding.c Wed Feb 11 09:45:12 2009 +0000 @@ -6626,7 +6626,7 @@ #define ALLOC_CONVERSION_WORK_AREA(coding) \ do { \ - int size = CHARBUF_SIZE;; \ + int size = CHARBUF_SIZE; \ \ coding->charbuf = NULL; \ while (size > 1024) \
--- a/src/font.c Wed Feb 11 09:22:59 2009 +0000 +++ b/src/font.c Wed Feb 11 09:45:12 2009 +0000 @@ -3132,7 +3132,7 @@ if (! NILP (AREF (spec, FONT_WEIGHT_INDEX))) attrs[LFACE_WEIGHT_INDEX] = FONT_WEIGHT_FOR_FACE (spec); if (! NILP (AREF (spec, FONT_SLANT_INDEX))) - attrs[LFACE_SLANT_INDEX] = FONT_SLANT_FOR_FACE (spec);; + attrs[LFACE_SLANT_INDEX] = FONT_SLANT_FOR_FACE (spec); if (! NILP (AREF (spec, FONT_WIDTH_INDEX))) attrs[LFACE_SWIDTH_INDEX] = FONT_WIDTH_FOR_FACE (spec); if (! NILP (AREF (spec, FONT_SIZE_INDEX)))
--- a/src/fontset.c Wed Feb 11 09:22:59 2009 +0000 +++ b/src/fontset.c Wed Feb 11 09:45:12 2009 +0000 @@ -1062,7 +1062,7 @@ nstars++; else if (*p0 == '[' || *p0 == '.' || *p0 == '\\' - || *p0 == '+' || *p0 == '^' + || *p0 == '+' || *p0 == '^' || *p0 == '$') nescs++; } @@ -1090,7 +1090,7 @@ *p1++ = '.'; else if (*p0 == '[' || *p0 == '.' || *p0 == '\\' - || *p0 == '+' || *p0 == '^' + || *p0 == '+' || *p0 == '^' || *p0 == '$') *p1++ = '\\', *p1++ = *p0; else @@ -1619,7 +1619,7 @@ } else { - fontset = FONTSET_FROM_ID (id);; + fontset = FONTSET_FROM_ID (id); free_realized_fontsets (fontset); Fset_char_table_range (fontset, Qt, Qnil); }
--- a/src/ftfont.c Wed Feb 11 09:22:59 2009 +0000 +++ b/src/ftfont.c Wed Feb 11 09:45:12 2009 +0000 @@ -1390,7 +1390,7 @@ sym = Qnil; langsyses = Fcons (Fcons (sym, features), langsyses); } - + OTF_TAG_SYM (sym, gsub_gpos->ScriptList.Script[i].ScriptTag); scripts = Fcons (Fcons (sym, langsyses), scripts); } @@ -1778,7 +1778,7 @@ base_x = otfg->f.f4.base_anchor->XCoordinate * x_scale / 0x10000; base_y = otfg->f.f4.base_anchor->YCoordinate * y_scale / 0x10000; mark_x = otfg->f.f4.mark_anchor->XCoordinate * x_scale / 0x10000; - mark_y = otfg->f.f4.mark_anchor->YCoordinate * y_scale / 0x10000;; + mark_y = otfg->f.f4.mark_anchor->YCoordinate * y_scale / 0x10000; if (otfg->f.f4.base_anchor->AnchorFormat != 1) adjust_anchor (ft_face, otfg->f.f4.base_anchor,
--- a/src/xfont.c Wed Feb 11 09:22:59 2009 +0000 +++ b/src/xfont.c Wed Feb 11 09:45:12 2009 +0000 @@ -220,7 +220,7 @@ { char *p0 = xlfd, *p1 = output; int c; - + while (*p0) { c = *(unsigned char *) p0++; @@ -242,7 +242,7 @@ const unsigned char *p0 = (unsigned char *) xlfd; unsigned char *p1 = (unsigned char *) xlfd; int len = 0; - + while (*p0) { int c = STRING_CHAR_ADVANCE (p0); @@ -363,7 +363,7 @@ int len; /* Large enough to contain the longest XLFD (255 bytes) in UTF-8. */ char name[512]; - + extra = AREF (spec, FONT_EXTRA_INDEX); if (CONSP (extra)) { @@ -642,7 +642,7 @@ char *p0, *p; int dashes = 0; - p0 = p = (char *) XGetAtomName (FRAME_X_DISPLAY (f), (Atom) value);; + p0 = p = (char *) XGetAtomName (FRAME_X_DISPLAY (f), (Atom) value); /* Count the number of dashes in the "full name". If it is too few, this isn't really the font's full name, so don't use it.
--- a/src/xftfont.c Wed Feb 11 09:22:59 2009 +0000 +++ b/src/xftfont.c Wed Feb 11 09:45:12 2009 +0000 @@ -159,7 +159,7 @@ Lisp_Object spec; { Lisp_Object list = ftfont_driver.list (frame, spec), tail; - + for (tail = list; CONSP (tail); tail = XCDR (tail)) ASET (XCAR (tail), FONT_TYPE_INDEX, Qxft); return list; @@ -271,7 +271,7 @@ FcPatternAddString (pat, FC_FILE, (FcChar8 *) SDATA (filename)); FcPatternAddInteger (pat, FC_INDEX, XINT (index)); - + BLOCK_INPUT; match = XftFontMatch (display, FRAME_X_SCREEN_NUMBER (f), pat, &result); @@ -335,7 +335,7 @@ font->space_width = extents.xOff; if (font->space_width <= 0) /* dirty workaround */ - font->space_width = pixel_size; + font->space_width = pixel_size; XftTextExtents8 (display, xftfont, ascii_printable + 1, 94, &extents); font->average_width = (font->space_width + extents.xOff) / 95; } @@ -451,7 +451,7 @@ struct face *face; { struct xftface_info *xftface_info; - + #if 0 /* This doesn't work if face->ascii_face doesn't use an Xft font. */ if (face != face->ascii_face @@ -490,7 +490,7 @@ struct xftfont_info *xftfont_info = (struct xftfont_info *) font; unsigned code = XftCharIndex (xftfont_info->display, xftfont_info->xftfont, (FcChar32) c); - + return (code ? code : FONT_INVALID_CODE); } @@ -523,7 +523,7 @@ xftfont_get_xft_draw (f) FRAME_PTR f; { - XftDraw *xft_draw = font_get_frame_data (f, &xftfont_driver);; + XftDraw *xft_draw = font_get_frame_data (f, &xftfont_driver); if (! xft_draw) {