mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-18 18:38:51 +00:00
Fix #323
This commit is contained in:
parent
742cddf543
commit
5d1bf80b5b
@ -117,7 +117,7 @@ struct StringDescription
|
||||
{
|
||||
RVA vaddr;
|
||||
QString string;
|
||||
char type;
|
||||
QString type;
|
||||
ut32 length;
|
||||
ut32 size;
|
||||
};
|
||||
|
@ -41,7 +41,12 @@ QVariant StringsModel::data(const QModelIndex &index, int role) const
|
||||
case STRING:
|
||||
return str.string;
|
||||
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:
|
||||
return str.length;
|
||||
case SIZE:
|
||||
|
Loading…
Reference in New Issue
Block a user