]> Nishi Git Mirror - dataworks.git/commitdiff
format
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sat, 15 Jun 2024 01:23:50 +0000 (01:23 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sat, 15 Jun 2024 01:23:50 +0000 (01:23 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@307 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Tool/docfmt.c

index b3fb0c48114f7dd9fbe932f179f9212e733da363..f6552c205ec2058a85e7d3cf70219b71c40c0e77 100644 (file)
@@ -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;