From: Brendan Dahl Date: Wed, 18 Apr 2012 16:50:47 +0000 (-0700) Subject: Fix to lowercase. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6ab7584ba46283f1542567c7424c95ddbe5bdfe9;p=pdf.js.git Fix to lowercase. --- diff --git a/src/function.js b/src/function.js index d16805b..56b405e 100644 --- a/src/function.js +++ b/src/function.js @@ -839,7 +839,7 @@ var PostScriptLexer = (function PostScriptLexerClosure() { ch = stream.lookChar(); if (ch === null) break; - ch.toLowerCase(); + ch = ch.toLowerCase(); if (ch >= 'a' && ch <= 'z') str += ch; else