From df072eb58f54f3aa052fddce1f41079216377ab1 Mon Sep 17 00:00:00 2001 From: crc <> Date: Fri, 12 Apr 2024 12:36:15 +0000 Subject: [PATCH] whitespace alterations FossilOrigin-Name: a8b81837d53dab5e625418146a37ab511b11442a267d3c4893dbf6847ccfbd5e --- vm/nga-c/retro.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vm/nga-c/retro.c b/vm/nga-c/retro.c index 2687655..52a402c 100644 --- a/vm/nga-c/retro.c +++ b/vm/nga-c/retro.c @@ -1699,7 +1699,7 @@ size_t strlcat(char *dst, const char *src, size_t dsize) { src++; } *dst = '\0'; - return(dlen + (src - osrc)); /* count does not include NUL */ + return(dlen + (src - osrc)); /* count does not include NUL */ } size_t strlcpy(char *dst, const char *src, size_t dsize) { @@ -1717,10 +1717,10 @@ size_t strlcpy(char *dst, const char *src, size_t dsize) { /* Not enough room in dst, add NUL and traverse rest of src. */ if (nleft == 0) { if (dsize != 0) - *dst = '\0'; /* NUL-terminate dst */ + *dst = '\0'; /* NUL-terminate dst */ while (*src++) ; } - return(src - osrc - 1); /* count does not include NUL */ + return(src - osrc - 1); /* count does not include NUL */ } #endif