mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
Everywhere: Change spelling of 'behaviour' to 'behavior'
"The official project language is American English […]."
5d2e915623/CONTRIBUTING.md (L30)
Here's a short statistic of the occurrences of the word "behavio(u)r":
$ git grep -IPioh 'behaviou?r' | sort | uniq -c | sort -n
2 BEHAVIOR
24 Behaviour
32 behaviour
407 Behavior
992 behavior
Therefore, it is clear that "behaviour" (56 occurrences) should be
regarded a typo, and "behavior" (1401 occurrences) should be preferred.
Note that The occurrences in LibJS are intentionally NOT changed,
because there are taken verbatim from the specification. Hence:
$ git grep -IPioh 'behaviou?r' | sort | uniq -c | sort -n
2 BEHAVIOR
10 behaviour
24 Behaviour
407 Behavior
1014 behavior
This commit is contained in:
parent
d5f8dac2bd
commit
36ff6187f6
11 changed files with 20 additions and 20 deletions
|
@ -709,7 +709,7 @@ void AntiAliasingPainter::stroke_segment_intersection(FloatPoint current_line_a,
|
|||
return;
|
||||
if ((previous_horizontal || previous_vertical) && (current_horizontal || current_vertical)) {
|
||||
intersection = m_transform.map(current_line_a);
|
||||
// Note: int_thickness used here to match behaviour of draw_line()
|
||||
// Note: int_thickness used here to match behavior of draw_line()
|
||||
int int_thickness = AK::ceil(thickness);
|
||||
return fill_rect(FloatRect(intersection, { thickness, thickness }).translated(-int_thickness / 2), color);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue