This commit is contained in:
Maijin 2018-02-10 18:16:16 +01:00
parent 742cddf543
commit 5d1bf80b5b
2 changed files with 7 additions and 2 deletions

View File

@ -117,7 +117,7 @@ struct StringDescription
{ {
RVA vaddr; RVA vaddr;
QString string; QString string;
char type; QString type;
ut32 length; ut32 length;
ut32 size; ut32 size;
}; };

View File

@ -41,7 +41,12 @@ QVariant StringsModel::data(const QModelIndex &index, int role) const
case STRING: case STRING:
return str.string; return str.string;
case TYPE: case TYPE:
return str.type; if (str.type == "a")
return "ASCII";
else if (str.type == "u")
return "UTF-8";
else
return str.type;
case LENGTH: case LENGTH:
return str.length; return str.length;
case SIZE: case SIZE: