From 802003efd43a3aac069f72f3ab6259aa375db620 Mon Sep 17 00:00:00 2001 From: nishi Date: Thu, 1 Feb 2024 08:18:32 +0000 Subject: [PATCH] format fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@149 d27a3e52-49c5-7645-884c-6793ebffc270 --- Example/w3b/w3b.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.43.0