mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
ui: Limit window title length
This commit is contained in:
@@ -121,7 +121,7 @@ namespace hex {
|
||||
if (ImHexApi::Provider::isValid()) {
|
||||
auto provider = ImHexApi::Provider::get();
|
||||
if (!windowTitle.empty() && provider != nullptr) {
|
||||
title += " - " + windowTitle;
|
||||
title += " - " + hex::limitStringLength(windowTitle, 32);
|
||||
|
||||
if (provider->isDirty())
|
||||
title += " (*)";
|
||||
|
||||
Reference in New Issue
Block a user