summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index 66ef0e10..f2b33dc3 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -5530,13 +5530,11 @@ void BinaryView::SetUserGlobalPointerValue(const Confidence<RegisterValue>& valu
}
-optional<pair<string, BNStringType>> BinaryView::StringifyUnicodeData(Architecture* arch,
- const DataBuffer& buffer, bool allowShortStrings)
+optional<pair<string, BNStringType>> BinaryView::StringifyUnicodeData(Architecture* arch, const DataBuffer& buffer, bool allowShortStrings)
{
char* str = nullptr;
BNStringType type = AsciiString;
- if (!BNStringifyUnicodeData(m_object, arch ? arch->GetObject() : nullptr, buffer.GetBufferObject(),
- allowShortStrings, &str, &type))
+ if (!BNStringifyUnicodeData(m_object, arch ? arch->GetObject() : nullptr, buffer.GetBufferObject(), allowShortStrings, &str, &type))
return nullopt;
string result(str);