Skip to content

Commit 8999cdd

Browse files
committed
Revert changes sent upstream
1 parent 8c41579 commit 8999cdd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/dom/lexbor/lexbor/css/syntax/state_res.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ lxb_css_syntax_state_res_map[256] =
4949
lxb_css_syntax_state_hash, /* 0x23; '#'; Pound sign */
5050
lxb_css_syntax_state_delim, /* 0x24; '$'; Dollar sign */
5151
lxb_css_syntax_state_delim, /* 0x25; '%'; Percentage sign */
52-
lxb_css_syntax_state_delim, /* 0x26; '&'; Ampersand */
52+
lxb_css_syntax_state_delim, /* 0x26; '&'; Commericial and */
5353
lxb_css_syntax_state_string, /* 0x27; '''; Apostrophe */
5454
lxb_css_syntax_state_lparenthesis, /* 0x28; '('; Left bracket */
5555
lxb_css_syntax_state_rparenthesis, /* 0x29; ')'; Right bracket */

ext/gd/libgd/gdft.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#endif
2929
#endif
3030

31-
/* number of antialised colors for indexed bitmaps */
31+
/* number of antialiased colors for indexed bitmaps */
3232
/* overwrite Windows GDI define in case of windows build */
3333
#ifdef NUMCOLORS
3434
#undef NUMCOLORS
@@ -400,7 +400,7 @@ static void *fontFetch (char **error, void *key)
400400
fontlist = gdEstrdup(a->fontlist);
401401

402402
/*
403-
* Must use gd_strtok_r because strtok() isn't thread safe
403+
* Must use gd_strtok_r becasuse strtok() isn't thread safe
404404
*/
405405
for (name = gd_strtok_r (fontlist, LISTSEPARATOR, &strtok_ptr); name; name = gd_strtok_r (0, LISTSEPARATOR, &strtok_ptr)) {
406406
char *strtok_ptr_path;
@@ -760,7 +760,7 @@ static char * gdft_draw_bitmap (gdCache_head_t *tc_cache, gdImage * im, int fg,
760760
*/
761761
*pixel = (fg < 0) ? -fg : fg;
762762
} else {
763-
/* find antialised color */
763+
/* find antialiased color */
764764
tc_key.bgcolor = *pixel;
765765
tc_elem = (tweencolor_t *) gdCacheGet(tc_cache, &tc_key);
766766
*pixel = tc_elem->tweencolor;

0 commit comments

Comments
 (0)