diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-02-23 16:13:56 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-02-23 16:13:56 +0300 |
commit | eb416408f6aa9ba3ade7c0a4b7d2f6535b451fc9 (patch) | |
tree | 564693af1a75d259fa3abf206934805546632ac2 | |
parent | a75e8cab27967e4cd851c53e9d4a0e86b770c6a6 (diff) |
Cosmetic change
-rw-r--r-- | src/Platform/RepRap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/RepRap.cpp b/src/Platform/RepRap.cpp index b88e3322..db84814a 100644 --- a/src/Platform/RepRap.cpp +++ b/src/Platform/RepRap.cpp @@ -2327,7 +2327,7 @@ OutputBuffer *RepRap::GetThumbnailResponse(const char *filename, FilePosition of } // Check for end of thumbnail. We'd like to use a regex here but we can't afford the flash space of a regex parser in some build configurations. - if ( StringStartsWith(p, "thumbnail end") || StringStartsWith(p, "thumbnail_QOI end")|| StringStartsWith(p, "thumbnail_JPG end") + if ( StringStartsWith(p, "thumbnail end") || StringStartsWith(p, "thumbnail_QOI end") || StringStartsWith(p, "thumbnail_JPG end") // Also stop if the base64 data has ended, to avoid sending to the end of file if the end marker is missing. We don't want to take too long so just look for space. || strchr(p, ' ') != nullptr ) |