1
0
mirror of synced 2025-02-18 03:09:18 +01:00

ui: Fixed displaying of truncated strings in the data inspector

This commit is contained in:
WerWolv 2022-08-02 23:07:35 +02:00
parent 0a97b59228
commit 6de00b3a6a

View File

@ -400,7 +400,7 @@ namespace hex::plugin::builtin {
value = copyValue = hex::encodeByteString(stringBuffer);
if (currSelection->size > MaxStringLength) {
if (value.size() > MaxStringLength) {
value.resize(MaxStringLength);
value += "...";
}