~kkubasik/beagle/gutsy

« back to all changes in this revision

Viewing changes to libbeagle/beagle/beagle-hit.c

  • Committer: Kevin Kubasik
  • Date: 2007-10-23 18:09:32 UTC
  • Revision ID: kjk38@kjk38-desktop-20071023180932-vbtm2c7qi4mo7ccu
merge a slew of upstream bugfixes, including a fix for evolution upgrade problems with sqlite

Show diffs side-by-side

added added

removed removed

Lines of Context:
359
359
        g_string_append_printf (data, " Source=\"%s\"", 
360
360
                                hit->source);
361
361
 
 
362
        /* Temporarily set the locale to "C" to convert floating point numbers. */
 
363
        char * old_locale = _beagle_util_set_c_locale ();
362
364
        g_string_append_printf (data, " Score=\"%f\"",
363
365
                                hit->score);
 
366
        _beagle_util_reset_locale (old_locale);
364
367
 
365
368
        g_string_append (data, ">");
366
369