ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/branches/sync4pymol12/src/mengine/src/initiali.c
(Generate patch)
# Line 1 | Line 1
1 + /* NOTICE: this source code file has been modified for use with FreeMOL */
2   #define EXTERN extern
3  
4   #include "pcwin.h"
# Line 17 | Line 18
18   void InitialTransform(void);
19   void zero_data(void);
20   void read_datafiles(char *);
21 < void initialize_pcmodel(char*);
21 > void initialize_pcmodel(char *);
22   void fixdisreset(void);
23   void coordreset(void);
24   void ddrivereset(void);
# Line 105 | Line 106
106        printf("%s\n",astring);
107   }
108   // ===================================
109 < void initialize_pcmodel(char *mmxfile)
109 > void initialize_pcmodel(char *pfile)
110   {
111      int i;
112      char string[256];
# Line 116 | Line 117
117          use_external_chrg = FALSE;
118          use_gast_chrg = FALSE;
119          zero_data();
120 <        strcpy(string,mmxfile);
121 <        read_datafiles(string);  
120 > //        strcpy(string,mmxfile);
121 >        read_datafiles(pfile);  
122          set_field();
123   // initialize atom definitions
124          atom_def.natomtype = atom_k.natomtype;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines