spelling: orphans

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2025-01-29 00:03:26 -05:00
parent f44e5e50e9
commit 92b055a0c4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -791,7 +791,7 @@ static inline void prv_walk_lines_down(Iterator* const line_iter, TextLayout* co
const Word word_before_rendering = *current_word_ref;
const OrphanLineState orphan_state = prv_capture_orphan_state(line);
// When repeating text to prevent orhpans we could run into the situation where repeating text
// When repeating text to prevent orphans we could run into the situation where repeating text
// pushes down the remaining text far enough so it ends up on yet another page. This would
// enter an infinite loop.
// To avoid that, we only apply this strategy, when it's "safe" to do so (in theory, there's