Cleanup: make format

This commit is contained in:
Brecht Van Lommel
2024-02-27 14:14:00 +01:00
parent e273fb4226
commit f00099f5f2
2 changed files with 3 additions and 2 deletions

View File

@@ -349,7 +349,7 @@ static void txtfmt_py_format_line(SpaceText *st, TextLine *line, const bool do_n
/* So slashes beginning on continuation display properly, see: #118767. */
if (cont & (FMT_CONT_QUOTEDOUBLE | FMT_CONT_QUOTESINGLE | FMT_CONT_TRIPLE)) {
prev = FMT_TYPE_STRING;
}
}
}
else {
cont = FMT_CONT_NOP;

View File

@@ -764,7 +764,8 @@ static bool lineart_shadow_cast_onto_triangle(LineartData *ld,
* the edge
*/
if (!(pi && LRT_DOUBLE_CLOSE_ENOUGH(ratio[0], 1.0f) &&
LRT_DOUBLE_CLOSE_ENOUGH(ratio[1], 0.0f))) {
LRT_DOUBLE_CLOSE_ENOUGH(ratio[1], 0.0f)))
{
trie[pi] = 1;
pi++;
}