smu

Simple markup processor
git clone https://git.sinitax.com/codemadness/smu
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 8ddcbc040bb21d9967494c23580e3f4bb6b89815
parent 913a387aff199a02aa4e2bdd39fb0455f6202fde
Author: Enno Boland <g@s01.de>
Date:   Fri, 28 Nov 2014 10:07:00 +0100

apply whitespace cleaning by Hiltjo Posthuma. Thanks mate!

Diffstat:
Msmu.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/smu.c b/smu.c @@ -181,7 +181,6 @@ dohtml(const char *begin, const char *end, int newblock) { } else return 0; - } int @@ -497,7 +496,7 @@ int dounderline(const char *begin, const char *end, int newblock) { unsigned int i, j, l; const char *p; - + if(!newblock) return 0; p = begin; @@ -556,7 +555,7 @@ process(const char *begin, const char *end, int newblock) { const char *p, *q; int affected; unsigned int i; - + for(p = begin; p < end;) { if(newblock) while(*p == '\n') @@ -622,4 +621,4 @@ main(int argc, char *argv[]) { fclose(source); free(buffer); return EXIT_SUCCESS; -} +}