fix:修正ish编译缺失语句问题
This commit is contained in:
parent
0c566d0b0a
commit
1106518755
@ -518,8 +518,7 @@ void fc_set_header(const char* h)
|
|||||||
for (const auto& item : v) {
|
for (const auto& item : v) {
|
||||||
if (item.size() > 1) {
|
if (item.size() > 1) {
|
||||||
header_len += 2;
|
header_len += 2;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
header_len += 1;
|
header_len += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -827,6 +826,9 @@ void color_print(const char* text, const COLOR_TYPE color)
|
|||||||
}
|
}
|
||||||
// Resets the text to default color
|
// Resets the text to default color
|
||||||
printf("\033[0m");
|
printf("\033[0m");
|
||||||
|
#if defined(IOS_ISH)
|
||||||
|
fflush(stdout);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
fc_unlock_print();
|
fc_unlock_print();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user