mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
quick check with linters
This commit is contained in:
parent
92f185ab51
commit
9522aedeec
55 changed files with 129 additions and 184 deletions
|
|
@ -26,8 +26,9 @@ void LabelCache::update(const std::wstring& text, bool multiline, bool wrap) {
|
|||
if (font == nullptr) {
|
||||
wrap = false;
|
||||
}
|
||||
size_t len = 0;
|
||||
|
||||
if (multiline) {
|
||||
size_t len = 0;
|
||||
for (size_t i = 0; i < text.length(); i++, len++) {
|
||||
if (text[i] == L'\n') {
|
||||
lines.push_back(LineScheme {i+1, false});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue