mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 08:16:08 +00:00
refactor(Tools): restyle tools with astyle (#3465)
This commit is contained in:
@@ -58,7 +58,7 @@ std::string DBC::GetStringByOffset( int offset )
|
||||
break;
|
||||
}
|
||||
}
|
||||
char* d = new char[len+1];
|
||||
char* d = new char[len + 1];
|
||||
strcpy(d, (const char*)(StringBlock + offset));
|
||||
d[len] = '\0';
|
||||
std::string val = std::string(d);
|
||||
|
||||
Reference in New Issue
Block a user