diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-13 16:51:40 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-13 16:52:07 -0800 |
commit | af59788f8b7b76515e36bee1bf66edf497b801db (patch) | |
tree | 496f7f9ba9335cd7dba41ca5050073f23fbc139b | |
parent | 7844db37f5b6dce1e7772f955ff606ef806ae032 (diff) |
unset precision if set to -1
-rw-r--r-- | src/library.js | 5 |
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; |