]> hackdaworld.org Git - physik/posic.git/commitdiff
increased line size (parse config) + zero defect subtype
authorhackbard <hackbard@sage.physik.uni-augsburg.de>
Wed, 7 Jan 2009 16:58:52 +0000 (17:58 +0100)
committerhackbard <hackbard@sage.physik.uni-augsburg.de>
Wed, 7 Jan 2009 16:58:52 +0000 (17:58 +0100)
mdrun.c

diff --git a/mdrun.c b/mdrun.c
index d0636939c17b68ac6d9f0206b95b076d023aa158..07333ab99dde79c183acddc926e04b4f1b0f5863 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) {