[Seqinr-commits] r2097 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 4 13:15:18 CEST 2019


Author: jeanlobry
Date: 2019-09-04 13:15:17 +0200 (Wed, 04 Sep 2019)
New Revision: 2097

Modified:
   pkg/src/alignment.c
Log:
indentation

Modified: pkg/src/alignment.c
===================================================================
--- pkg/src/alignment.c	2019-09-03 12:40:59 UTC (rev 2096)
+++ pkg/src/alignment.c	2019-09-04 11:15:17 UTC (rev 2097)
@@ -857,7 +857,10 @@
       }
       memcpy(seqname[curr_spec], line, wid_name);
       p = seqname[curr_spec] + wid_name - 1;
-      while(*p==' ') p--; *(p+1)=0;
+      while(*p == ' '){
+        p--;
+      } 
+      *(p+1)=0;
       if(curr_spec > tot_spec) tot_spec = curr_spec;
       seq[curr_spec] = (char *)malloc(CLU_BLOCK_LEN+1);
       curr_max_len = CLU_BLOCK_LEN;



More information about the Seqinr-commits mailing list