/[xlog]/xlog/src/dxcc.c
ViewVC logotype

Diff of /xlog/src/dxcc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by pa4tu, Sat Nov 23 15:47:52 2002 UTC revision 1.12 by pa4tu, Sat Nov 23 15:57:51 2002 UTC
# Line 88  readctydata (void) Line 88  readctydata (void)
88    dxcc[0].countryname = g_strdup ("Unknown Country");    dxcc[0].countryname = g_strdup ("Unknown Country");
89    dxcc[0].waz = -1;    dxcc[0].waz = -1;
90    dxcc[0].itu = -1;    dxcc[0].itu = -1;
91      dxcc[0].continent = g_strdup ("--");
92    dxcc[0].exceptions = NULL;    dxcc[0].exceptions = NULL;
93    
94    state.countries = 1;    state.countries = 1;
# Line 117  readctydata (void) Line 118  readctydata (void)
118        dxcc[state.countries].countryname = g_strdup (split[0]);        dxcc[state.countries].countryname = g_strdup (split[0]);
119        dxcc[state.countries].waz = atoi (split[1]);        dxcc[state.countries].waz = atoi (split[1]);
120        dxcc[state.countries].itu = atoi (split[2]);        dxcc[state.countries].itu = atoi (split[2]);
121          dxcc[state.countries].continent = g_strdup (split[3]);
122        dxcc[state.countries].exceptions = g_strdup (split[8]);        dxcc[state.countries].exceptions = g_strdup (split[8]);
123    
124        for (ipfx = 0;; ipfx++)        for (ipfx = 0;; ipfx++)

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26