This commit is contained in:
Kyle Reed
2017-03-01 16:04:38 -08:00
parent cd84021311
commit fd9dd3cc5a
+1 -1
View File
@@ -207,7 +207,7 @@ namespace krabs {
template <typename T>
size_t get_string_content_length(const T* string, size_t lengthBytes)
{
// for some string types, the length includes the null terminator
// for some string types the length includes the null terminator
// so we need to find the length of just the content part
T nullChar {0};