increased line size (parse config) + zero defect subtype
[physik/posic.git] / mdrun.c
diff --git a/mdrun.c b/mdrun.c
index d063693..07333ab 100644 (file)
--- a/mdrun.c
+++ b/mdrun.c
@@ -161,7 +161,7 @@ int mdrun_parse_config(t_mdrun *mdrun) {
        char error[128];
        char line[128];
        char *wptr;
-       char word[16][64];
+       char word[32][64];
        int wcnt;
        int i,o;
 
@@ -293,6 +293,7 @@ int mdrun_parse_config(t_mdrun *mdrun) {
                        fp.lattice=mdrun->lattice;
                        fp.p_params.type=0;
                        fp.d_params.type=0;
+                       fp.d_params.stype=0;
                        // parse fill command
                        i=1;
                        while(i<wcnt) {