mirror of
https://github.com/google/pebble.git
synced 2026-02-22 04:56:50 -05:00
spelling: palette
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -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];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user