aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index 6cbe7854..b1eb0be3 100644
--- a/src/library.js
+++ b/src/library.js
@@ -1970,7 +1970,10 @@ LibraryManager.library = {
}
next = {{{ makeGetValue(0, 'textIndex+1', 'i8') }}};
}
- if (precision === -1) precision = 6; // Standard default.
+ if (precision === -1) {
+ precision = 6; // Standard default.
+ precisionSet = false;
+ }
// Handle integer sizes. WARNING: These assume a 32-bit architecture!
var argSize;