mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Warning fixes
This commit is contained in:
1 parent
8fe3dcdb83
commit
d19f8b72f9
2 files changed
+4
-1
No files matched your search
@@ -1608,7 +1608,7 @@ void ImLogWindow::Draw(ImConfig &cfg) {
|
||||
for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++) {
|
||||
int n = ring.GetCount() - 1 - line_no;
|
||||
|
||||
const std::string_view line = ring.TextAt(n);
|
||||
const std::string line = ring.TextAt(n);
|
||||
const LogLevel level = ring.LevelAt(n);
|
||||
const u32 color = 0xFF000000 | LogManager::GetLevelColor(level);
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, color);
|
||||
|
||||
Reference in new issue
Block a user