Changeset 2818 in Sophya for trunk/SophyaExt/XephemAstroLib/plmoon.c
- Timestamp:
- Aug 21, 2005, 12:02:40 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/plmoon.c
r2643 r2818 23 23 static void init1BI (int idx, int pl, int moon, char *name); 24 24 static void initPlobj(void); 25 static void initDir(void);26 25 static void rotate (double a, double *x, double *y); 27 26 … … 111 110 112 111 /* init plobj[] */ 113 if (!((Obj *)&plobj[0])->o_type) {112 if (!((Obj *)&plobj[0])->o_type) 114 113 initPlobj(); 115 initDir();116 }117 114 118 115 /* get sun @ np */ … … 226 223 ((Obj*)&plobj[i])->pl_code = i; 227 224 } 228 }229 230 /* install a default if no moondir set yet */231 static void232 initDir()233 {234 if (!moondir)235 moondir = ".";236 225 } 237 226
Note:
See TracChangeset
for help on using the changeset viewer.