Commit 910b25ae authored by Jody Goldberg's avatar Jody Goldberg

update

parent cdba8fdf
......@@ -30,6 +30,10 @@ global_gnome_font_init (void)
GList *l, *ll;
l = gnome_font_family_list ();
#if 0
pango_context_list_families (gtk_widget_get_pango_context (GTK_WIDGET (fontsel)),
&fontsel->families, &n_families);
#endif
for (ll = l; ll; ll = ll->next){
gnumeric_font_family_list = g_list_insert_sorted (
......
......@@ -216,7 +216,7 @@ format_create_regexp (char const *format, GByteArray **dest)
* $###0.00
* as a result $1000 would not be recognized.
*/
g_string_append (regexp, "([-+]?[0-9]+(\\");
g_string_append (regexp, "([-+]?[0-9]+(");
g_string_append (regexp, re_thousands_sep);
g_string_append (regexp, "[0-9]{3})*)");
append_type (MATCH_SKIP);
......@@ -224,7 +224,7 @@ format_create_regexp (char const *format, GByteArray **dest)
g_string_append (regexp, "([-+]?[0-9]+)");
if (include_decimal) {
g_string_append (regexp, "?(\\");
g_string_append (regexp, "?(");
g_string_append (regexp, re_decimal);
g_string_append (regexp, "[0-9]+([Ee][-+]?[0-9]+)?)");
append_type (MATCH_NUMBER_DECIMALS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment