Switch thumbnail to bytebuf instead of byte pointer and length

This commit is contained in:
baldurk
2020-08-26 19:27:42 +01:00
parent 51b228b042
commit 9fd7f447d2
7 changed files with 74 additions and 135 deletions
+1 -1
View File
@@ -812,7 +812,7 @@ public:
if(empty())
return;
#define IS_WHITESPACE(c) ((c) == ' ' || (c) == '\t' || (c) == '\r' || (c) == '\n')
#define IS_WHITESPACE(c) ((c) == ' ' || (c) == '\t' || (c) == '\r' || (c) == '\n' || (c) == '\0')
const char *str = c_str();
size_t sz = size();