Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 9cffaa3

Browse files
committed
Revert "[[ Cleanup ]] MCBlock::fit(): Compare codepoint_t to CODEPOINT_NONE."
This reverts commit af6e42c. Reverting this commit as it causes a merge conflict with a bugfix from develop-7.0 (the lines containing the change are removed).
1 parent b3dde9e commit 9cffaa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/block.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ bool MCBlock::fit(coord_t x, coord_t maxwidth, findex_t& r_break_index, bool& r_
773773
}
774774

775775
if (t_this_char == '\t' ||
776-
t_next_char == CODEPOINT_NONE ||
776+
t_next_char == -1 ||
777777
MCUnicodeCanBreakBetween(t_this_char, t_next_char))
778778
{
779779
t_can_break = true;

0 commit comments

Comments
 (0)