From: nishi Date: Thu, 1 Feb 2024 08:18:32 +0000 (+0000) Subject: format fix X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=802003efd43a3aac069f72f3ab6259aa375db620;p=libw3.git format fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@149 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Example/w3b/w3b.c b/Example/w3b/w3b.c index bd273f0..d741478 100644 --- a/Example/w3b/w3b.c +++ b/Example/w3b/w3b.c @@ -147,7 +147,7 @@ bool style = false; void html_handler(char* tagname, char* attr) { if(nl - start > termh - 3) return; - if(style){ + if(style) { if(strcasecmp(tagname, "/style") == 0) style = false; return; } @@ -207,7 +207,7 @@ void html_handler(char* tagname, char* attr) { } else if(strcasecmp(tagname, "/h6") == 0) { if(nl >= start) printf("\n"); nl++; - }else if(strcasecmp(tagname, "style") == 0){ + } else if(strcasecmp(tagname, "style") == 0) { style = true; } else if(strcasecmp(tagname, "img") == 0) { if(nl >= start) {