mirror of
https://github.com/google/pebble.git
synced 2025-05-01 07:41:41 -04:00
spelling: original
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
13de07fe70
commit
f44e5e50e9
2 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ void gbitmap_init_with_data(GBitmap *bitmap, const uint8_t *data) {
|
||||||
bitmap->info.is_bitmap_heap_allocated = false;
|
bitmap->info.is_bitmap_heap_allocated = false;
|
||||||
|
|
||||||
// Note that our container contains values for the origin, but we want to ignore them.
|
// Note that our container contains values for the origin, but we want to ignore them.
|
||||||
// This is because orginally we just serialized GBitmap to disk,
|
// This is because originally we just serialized GBitmap to disk,
|
||||||
// but these fields don't really make sense for static images.
|
// but these fields don't really make sense for static images.
|
||||||
// These origin fields are only used when reusing a byte buffer in a sub bitmap.
|
// These origin fields are only used when reusing a byte buffer in a sub bitmap.
|
||||||
// This allows us to have a shallow copy of a portion of a parent bitmap.
|
// This allows us to have a shallow copy of a portion of a parent bitmap.
|
||||||
|
|
|
@ -89,7 +89,7 @@ typedef struct {
|
||||||
//! committed until the pfs_close is called. Until this time, pfs_open of the
|
//! committed until the pfs_close is called. Until this time, pfs_open of the
|
||||||
//! 'name' will return a hdl to the original file. This way there is always a
|
//! 'name' will return a hdl to the original file. This way there is always a
|
||||||
//! valid version of the file which can be read & the caller can copy parts
|
//! valid version of the file which can be read & the caller can copy parts
|
||||||
//! of the orginal file in hunks rather than allocating a lot of RAM.
|
//! of the original file in hunks rather than allocating a lot of RAM.
|
||||||
//!
|
//!
|
||||||
//! OP_FLAG_SKIP_HDR_CRC_CHECK - For files which are not accessed frequently,
|
//! OP_FLAG_SKIP_HDR_CRC_CHECK - For files which are not accessed frequently,
|
||||||
//! it is a good idea to sanity check the on-flash header CRCs to make sure
|
//! it is a good idea to sanity check the on-flash header CRCs to make sure
|
||||||
|
|
Loading…
Add table
Reference in a new issue