Skip to content

Commit 8dd93d2

Browse files
author
Clang Robot
committed
Committing clang-format changes
1 parent bc1affb commit 8dd93d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/include/ImageBMP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ bool Image::drawBmpFromWebAtPosition(const char *url, const Position &position,
534534
// check if buffer is empty to avoid trying to draw an empty image
535535
if (!buf)
536536
return 0;
537-
537+
538538
bitmapHeader bmpHeader;
539539
readBmpHeader(buf, &bmpHeader);
540540

src/include/ImageJPEG.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,12 @@ bool Image::drawJpegFromWeb(WiFiClient *s, int x, int y, int32_t len, bool dithe
298298
{
299299
bool ret = 0;
300300
uint8_t *buff = downloadFile(s, len);
301-
301+
302302
// Image sometimes doesn't download, so
303303
// check if buffer is empty to avoid trying to draw an empty image
304304
if (!buff)
305305
return 0;
306-
306+
307307
ret = drawJpegFromBuffer(buff, len, x, y, dither, invert);
308308
free(buff);
309309

0 commit comments

Comments
 (0)