wdvi

network DVI viewer
Log | Files | Refs

commit bb1e06c679c24534a1a5cdfb7083814d424e7902
parent a0b33d6d50d143f2ade2e8c4bc7c54210500f095
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Sat, 11 Mar 2023 20:37:48 +0000

statement bodies on newline

Diffstat:
Mspecial.c | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/special.c b/special.c @@ -1102,9 +1102,14 @@ scan_papersize(const char *cp0) static char * endofcommand(char *cp) { - while (isspace(*cp)) ++cp; - if (*cp != '=') return NULL; - do ++cp; while (isspace(*cp)); + while (isspace(*cp)) + ++cp; + if (*cp != '=') + return NULL; + do + ++cp; + while (isspace(*cp)); + return cp; }