mirror of
https://github.com/google/pebble.git
synced 2025-04-30 23:31:40 -04:00
spelling: probability
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
e35b142f68
commit
67713b7888
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ static inline void prv_walk_lines_down(Iterator* const line_iter, TextLayout* co
|
||||||
// pushes down the remaining text far enough so it ends up on yet another page. This would
|
// pushes down the remaining text far enough so it ends up on yet another page. This would
|
||||||
// enter an infinite loop.
|
// enter an infinite loop.
|
||||||
// To avoid that, we only apply this strategy, when it's "safe" to do so (in theory, there's
|
// To avoid that, we only apply this strategy, when it's "safe" to do so (in theory, there's
|
||||||
// still the propability to run into this scenario if the perimeter isn't vertically symmetric).
|
// still the probability to run into this scenario if the perimeter isn't vertically symmetric).
|
||||||
// The chosen number should be large enough for the previous line, the orphan line plus some
|
// The chosen number should be large enough for the previous line, the orphan line plus some
|
||||||
// buffer.
|
// buffer.
|
||||||
const int num_safe_lines = 3;
|
const int num_safe_lines = 3;
|
||||||
|
|
Loading…
Add table
Reference in a new issue