summaryrefslogtreecommitdiff
path: root/src/Printing.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-31 04:55:15 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-31 04:55:15 +0200
commit023815361486c0b5696d91326366d62e1828b025 (patch)
tree4ac60a271673cc94c74d5125fdaea4fb9ee26a68 /src/Printing.vala
parent143bfc9f801c84428074312d661f8e08803df83b (diff)
Imported Upstream version 0.23.6upstream/0.23.6
Diffstat (limited to 'src/Printing.vala')
-rw-r--r--src/Printing.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Printing.vala b/src/Printing.vala
index a7505ef..1f255b3 100644
--- a/src/Printing.vala
+++ b/src/Printing.vala
@@ -513,7 +513,8 @@ public class CustomPrintTab : Gtk.Fixed {
if (length == -1)
length = (int) text.length;
- string decimal_point = Intl.localeconv().decimal_point;
+ unowned string decimal_point = Posix.nl_langinfo (Posix.NLItem.RADIXCHAR);
+
bool contains_decimal_point = sender.get_text().contains(decimal_point);
string new_text = "";