mirror of
https://github.com/google/pebble.git
synced 2025-05-01 07:41:41 -04:00
spelling: palette
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
0a17a4a67c
commit
bd132b4003
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ T_STATIC GColor get_bitmap_color(GBitmap *bmp, int x, int y) {
|
||||||
(format == GBitmapFormat2BitPalette) ||
|
(format == GBitmapFormat2BitPalette) ||
|
||||||
(format == GBitmapFormat4BitPalette));
|
(format == GBitmapFormat4BitPalette));
|
||||||
if (palletized) {
|
if (palletized) {
|
||||||
// Look up color in pallete if palletized
|
// Look up color in palette if palletized
|
||||||
const GColor *palette = bmp->palette;
|
const GColor *palette = bmp->palette;
|
||||||
src_color = palette[cindex];
|
src_color = palette[cindex];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue