~renatofilho/indicator-datetime/calendars

« back to all changes in this revision

Viewing changes to src/datetime-prefs.c

  • Committer: Ted Gould
  • Date: 2012-04-18 21:22:19 UTC
  • mto: This revision was merged to the branch mainline in revision 174.
  • Revision ID: ted@gould.cx-20120418212219-t1e5375a3vidylrd
Use the same function here as well, just to ensure we're consistent

Show diffs side-by-side

added added

removed removed

Lines of Context:
613
613
                        -1);
614
614
 
615
615
    if (strlon != NULL && strlon[0] != 0) {
616
 
      lon = strtod(strlon, NULL);
 
616
      lon = g_ascii_strtod(strlon, NULL);
617
617
    }
618
618
 
619
619
    if (strlat != NULL && strlat[0] != 0) {
620
 
      lat = strtod(strlat, NULL);
 
620
      lat = g_ascii_strtod(strlat, NULL);
621
621
    }
622
622
 
623
623
    zone = cc_timezone_map_get_timezone_at_coords (self->priv->tzmap, lon, lat);