Skip to content

Commit f1a1924

Browse files
committed
tidy one
1 parent b56bb3b commit f1a1924

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ static void nano_skip_bytes(R_outpstream_t stream, void *src, int len) {
7676

7777
nano_buf *buf = (nano_buf *) stream->data;
7878
if (buf->len <= NANONEXT_SERIAL_HEADERS) {
79-
buf->len--;
80-
buf->len = buf->len ? buf->len : NANONEXT_INIT_BUFSIZE;
79+
buf->len = --buf->len ? buf->len : NANONEXT_INIT_BUFSIZE;
8180
return;
8281
}
8382

0 commit comments

Comments
 (0)