Revert 'Insert an LRM, to prevent -20 to come out as 20- in RTL'

Correct text direction for printing of doubles should be (and is) done
by printf() and friend and not enforced by GtkScale.

This reverts commit 5eb2aac947

https://bugzilla.gnome.org/show_bug.cgi?id=322571
This commit is contained in:
Benjamin Otte 2011-06-25 19:49:37 +02:00 committed by Matthias Clasen
parent d0f0d4c77f
commit 447fae8d4b

View File

@ -1334,8 +1334,7 @@ _gtk_scale_format_value (GtkScale *scale,
if (fmt)
return fmt;
else
/* insert a LRM, to prevent -20 to come out as 20- in RTL locales */
return g_strdup_printf ("\342\200\216%0.*f", priv->digits, value);
return g_strdup_printf ("%0.*f", priv->digits, value);
}
static void