mirror of
https://github.com/google/pebble.git
synced 2025-11-19 14:00:59 -05:00
spelling: contiguous
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -143,8 +143,8 @@ bool circular_buffer_read_or_copy(const CircularBuffer* buffer, uint8_t **data_o
|
||||
if (buffer->data_length < length) {
|
||||
return false;
|
||||
}
|
||||
const uint16_t continguous_length = (buffer->buffer_size - buffer->read_index);
|
||||
const bool should_malloc_and_copy = (length > continguous_length);
|
||||
const uint16_t contiguous_length = (buffer->buffer_size - buffer->read_index);
|
||||
const bool should_malloc_and_copy = (length > contiguous_length);
|
||||
*caller_should_free = should_malloc_and_copy;
|
||||
if (should_malloc_and_copy) {
|
||||
*data_out = (uint8_t *) malloc_imp(length);
|
||||
|
||||
Reference in New Issue
Block a user