mirror of
https://github.com/google/pebble.git
synced 2025-04-30 23:31:40 -04:00
spelling: equal
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
0cf7d4d8e4
commit
11a46154bc
3 changed files with 3 additions and 3 deletions
|
@ -516,7 +516,7 @@ void graphics_draw_circle(GContext* ctx, GPoint p, uint16_t radius) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (radius == 0) {
|
if (radius == 0) {
|
||||||
// Special case radius 0 to fill a circle with radius eqaul to half the stroke width
|
// Special case radius 0 to fill a circle with radius equal to half the stroke width
|
||||||
// Backup the fill color and set that to the current stroke color since the fill color
|
// Backup the fill color and set that to the current stroke color since the fill color
|
||||||
// is what is used for fill circle. Restore the fill color afterwards.
|
// is what is used for fill circle. Restore the fill color afterwards.
|
||||||
GColor backup_fill_color = ctx->draw_state.fill_color;
|
GColor backup_fill_color = ctx->draw_state.fill_color;
|
||||||
|
|
|
@ -54,7 +54,7 @@ void pstring_pstring16_to_string(const PascalString16 *pstring, char *string_out
|
||||||
//! Must be at least size (string + 1).
|
//! Must be at least size (string + 1).
|
||||||
void pstring_string_to_pstring16(char string[], PascalString16 *pstring_out);
|
void pstring_string_to_pstring16(char string[], PascalString16 *pstring_out);
|
||||||
|
|
||||||
//! Checks if 2 pstrings are euqual and returns true if so.
|
//! Checks if 2 pstrings are equal and returns true if so.
|
||||||
//! @note returns false if either / both pstrings are NULL
|
//! @note returns false if either / both pstrings are NULL
|
||||||
bool pstring_equal(const PascalString16 *ps1, const PascalString16 *ps2);
|
bool pstring_equal(const PascalString16 *ps1, const PascalString16 *ps2);
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ NUM_SUBREGIONS = 8
|
||||||
|
|
||||||
|
|
||||||
def round_up_to_power_of_two(x):
|
def round_up_to_power_of_two(x):
|
||||||
""" Find the next power of two that is eqaul to or greater than x
|
""" Find the next power of two that is equal to or greater than x
|
||||||
|
|
||||||
>>> round_up_to_power_of_two(4)
|
>>> round_up_to_power_of_two(4)
|
||||||
4
|
4
|
||||||
|
|
Loading…
Add table
Reference in a new issue