summaryrefslogtreecommitdiff
path: root/src/Printing.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-31 04:56:51 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-31 04:56:51 +0200
commit7686bc45dedb8eaed56afdcc7ef51150f4583f35 (patch)
tree1cc6fe9f5dcd9e0ccceea904e0aab967fdc35eb4 /src/Printing.vala
parent6df261f4ed647aed6d46977af12899e94d1c8e14 (diff)
parent023815361486c0b5696d91326366d62e1828b025 (diff)
Merge tag 'upstream/0.23.6'
Upstream version 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 = "";