summaryrefslogtreecommitdiff
path: root/src/Printing.vala
diff options
context:
space:
mode:
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 = "";