aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanuels <manuel.schoelling@gmx.de>2013-01-19 14:43:58 +0100
committermanuels <manuel.schoelling@gmx.de>2013-01-19 14:43:58 +0100
commitee67164cc8238b52a77a47ee4efca934ffdcbba7 (patch)
tree6c07f42733aa8f5d9803aa703884e90a53a67b37
parentafc8e0cc820f9e2fe952e7113ab15f1296b7da84 (diff)
Remove unnecessary parantheses in sscanf format code
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index 57468585..3b229dfa 100644
--- a/src/library.js
+++ b/src/library.js
@@ -2515,7 +2515,7 @@ LibraryManager.library = {
var curr = 0;
var buffer = [];
// Read characters according to the format. floats are trickier, they may be in an unfloat state in the middle, then be a valid float later
- if ((type == 'f') || (type == 'e') || (type == 'g') || (type == 'E')) {
+ if (type == 'f' || type == 'e' || type == 'g' || type == 'E') {
var last = 0;
next = get();
while (next > 0) {