summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2009-02-11 09:45:12 +0000
committerJuanma Barranquero <lekktu@gmail.com>2009-02-11 09:45:12 +0000
commit8510724d46951d651a78424e12b93ccee100c665 (patch)
treeb04b98a8aa0cd962eac5de05dab0e81f120d3473 /src
parentabab01f2e81262d65221d02b0cf525679bd8b7a7 (diff)
downloademacs-8510724d46951d651a78424e12b93ccee100c665.tar.gz
Remove spurious semicolons.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/casetab.c2
-rw-r--r--src/coding.c2
-rw-r--r--src/font.c2
-rw-r--r--src/fontset.c6
-rw-r--r--src/ftfont.c4
-rw-r--r--src/xfont.c8
-rw-r--r--src/xftfont.c12
8 files changed, 28 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5890ff9be13..40a6e875c5e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/casetab.c b/src/casetab.c
index 1a5d292a00f..423251df317 100644
--- a/src/casetab.c
+++ b/src/casetab.c
@@ -285,7 +285,7 @@ init_casetab_once ()
{
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));
}
diff --git a/src/coding.c b/src/coding.c
index f05cf841f5a..abc7b3eca76 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6626,7 +6626,7 @@ produce_charset (coding, charbuf, pos)
#define ALLOC_CONVERSION_WORK_AREA(coding) \
do { \
- int size = CHARBUF_SIZE;; \
+ int size = CHARBUF_SIZE; \
\
coding->charbuf = NULL; \
while (size > 1024) \
diff --git a/src/font.c b/src/font.c
index c5920cc27ac..0bd18d4c5cd 100644
--- a/src/font.c
+++ b/src/font.c
@@ -3132,7 +3132,7 @@ font_update_lface (f, attrs)
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)))
diff --git a/src/fontset.c b/src/fontset.c
index 701ab66e89e..03d093fa09d 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1062,7 +1062,7 @@ fontset_pattern_regexp (pattern)
nstars++;
else if (*p0 == '['
|| *p0 == '.' || *p0 == '\\'
- || *p0 == '+' || *p0 == '^'
+ || *p0 == '+' || *p0 == '^'
|| *p0 == '$')
nescs++;
}
@@ -1090,7 +1090,7 @@ fontset_pattern_regexp (pattern)
*p1++ = '.';
else if (*p0 == '['
|| *p0 == '.' || *p0 == '\\'
- || *p0 == '+' || *p0 == '^'
+ || *p0 == '+' || *p0 == '^'
|| *p0 == '$')
*p1++ = '\\', *p1++ = *p0;
else
@@ -1619,7 +1619,7 @@ FONT-SPEC is a vector, a cons, or a string. See the documentation of
}
else
{
- fontset = FONTSET_FROM_ID (id);;
+ fontset = FONTSET_FROM_ID (id);
free_realized_fontsets (fontset);
Fset_char_table_range (fontset, Qt, Qnil);
}
diff --git a/src/ftfont.c b/src/ftfont.c
index dea3bf069b4..b8c39cd920d 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -1390,7 +1390,7 @@ ftfont_otf_features (gsub_gpos)
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 @@ ftfont_drive_otf (font, spec, in, from, to, out, adjustment)
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,
diff --git a/src/xfont.c b/src/xfont.c
index 140686272c4..6a9a46ec35e 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -220,7 +220,7 @@ xfont_decode_coding_xlfd (char *xlfd, int len, char *output)
{
char *p0 = xlfd, *p1 = output;
int c;
-
+
while (*p0)
{
c = *(unsigned char *) p0++;
@@ -242,7 +242,7 @@ xfont_encode_coding_xlfd (char *xlfd)
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 @@ xfont_list (frame, spec)
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 @@ xfont_open (f, entity, pixel_size)
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.
diff --git a/src/xftfont.c b/src/xftfont.c
index aecf6497428..9474283c218 100644
--- a/src/xftfont.c
+++ b/src/xftfont.c
@@ -159,7 +159,7 @@ xftfont_list (frame, spec)
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 @@ xftfont_open (f, entity, pixel_size)
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 @@ xftfont_open (f, entity, pixel_size)
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 @@ xftfont_done_face (f, face)
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 @@ xftfont_encode_char (font, c)
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 @@ static XftDraw *
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)
{