Sfoglia il codice sorgente

cmdutils: cosmetics

requested by multiple people

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 12 anni fa
parent
commit
f95b5d2a11
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      cmdutils.c

+ 3 - 3
cmdutils.c

@@ -1087,19 +1087,19 @@ static void print_buildconf(int flags, int level)
 
     // Change all the ' --' strings to '~--' so that
     // they can be identified as tokens.
-    while( (conflist = strstr(str, " --")) != NULL ) {
+    while ( (conflist = strstr(str, " --")) != NULL ) {
         strncpy(conflist, "~--", 3);
     }
 
     // Compensate for the weirdness this would cause
     // when passing 'pkg-config --static'.
-    while( (remove_tilde = strstr(str, "pkg-config~")) != NULL ) {
+    while ( (remove_tilde = strstr(str, "pkg-config~")) != NULL ) {
         strncpy(remove_tilde, "pkg-config ",11);
     }
 
     splitconf = strtok(str, "~");
     av_log(NULL, level, "\n%sconfiguration:\n",indent);
-    while(splitconf != NULL) {
+    while (splitconf != NULL) {
         av_log(NULL, level, "%s%s%s\n", indent, indent, splitconf);
         splitconf = strtok(NULL, "~");
     }