Commit 447fae8d authored by Benjamin Otte's avatar Benjamin Otte Committed by Matthias Clasen
Browse files

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 5eb2aac9

https://bugzilla.gnome.org/show_bug.cgi?id=322571
parent d0f0d4c7
......@@ -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
......
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