From 40cda7d9886d1f9dcd6602b1897de65124166144 Mon Sep 17 00:00:00 2001 From: peri4 Date: Fri, 5 Sep 2025 21:56:59 +0300 Subject: [PATCH] fix last deploy_tool patch --- libs/console/piscreen.cpp | 4 ++-- utils/deploy_tool/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/console/piscreen.cpp b/libs/console/piscreen.cpp index 951d182b..e454285e 100644 --- a/libs/console/piscreen.cpp +++ b/libs/console/piscreen.cpp @@ -189,8 +189,8 @@ void PIScreen::SystemConsole::print() { for (int j = 0; j < dh; ++j) { int k = j * dw + i; Cell & c(cells[j + dy0][i + dx0]); - PRIVATE->chars[k].Char.UnicodeChar = 0; - PRIVATE->chars[k].Char.AsciiChar = c.symbol.toConsole1Byte(); + PRIVATE->chars[k].Char.UnicodeChar = c.symbol.unicode16Code(); + // PRIVATE->chars[k].Char.AsciiChar = c.symbol.toConsole1Byte(); PRIVATE->chars[k].Attributes = attributes(c); } // piCout << "draw" << dw << dh; diff --git a/utils/deploy_tool/main.cpp b/utils/deploy_tool/main.cpp index 7b0eef5b..cf5a86d9 100644 --- a/utils/deploy_tool/main.cpp +++ b/utils/deploy_tool/main.cpp @@ -468,7 +468,7 @@ bool procDpkg(const PIString & l) { PIStringList lines = vs.split('\n').reverse(); for (auto l: lines) { l = l.left(l.find(":")); - if (!l.isEmpty() && !l.endsWith("-cross")) all_deps << vs; + if (!l.isEmpty() && !l.endsWith("-cross")) all_deps << l; return true; } }