From 81fc031516bf6c7352fe5d87c50b4225a3d51cc4 Mon Sep 17 00:00:00 2001 From: nishi Date: Sat, 15 Jun 2024 01:23:50 +0000 Subject: [PATCH] format git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@307 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Tool/docfmt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tool/docfmt.c b/Tool/docfmt.c index b3fb0c4..f6552c2 100644 --- a/Tool/docfmt.c +++ b/Tool/docfmt.c @@ -76,8 +76,8 @@ int process_doc(void) { char* cmd = str; char* val = NULL; int i; - for(i = 0; str[i] != 0; i++){ - if(str[i] == ' '){ + for(i = 0; str[i] != 0; i++) { + if(str[i] == ' ') { str[i] = 0; val = str + i + 1; break; @@ -114,8 +114,8 @@ int process_doc(void) { char* cmd = str; char* val = NULL; int i; - for(i = 0; str[i] != 0; i++){ - if(str[i] == ' '){ + for(i = 0; str[i] != 0; i++) { + if(str[i] == ' ') { str[i] = 0; val = str + i + 1; break; -- 2.43.0