Run code through the advanced tool 'sed' to remove trailing whitespace.
This commit is contained in:
1 parent
965b32be9c
commit
c579637eaf
568 files changed
+8650
-8654
No files matched your search
@@ -66,7 +66,7 @@ class CBannerLoaderGC
|
||||
std::string GetDecodedString(const char (&data)[N])
|
||||
{
|
||||
auto const string_decoder = CVolumeGC::GetStringDecoder(m_country);
|
||||
|
||||
|
||||
// strnlen to trim NULLs
|
||||
return string_decoder(std::string(data, strnlen(data, sizeof(data))));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user