]> git.parisson.com Git - pdf.js.git/commitdiff
Fix to lowercase.
authorBrendan Dahl <brendan.dahl@gmail.com>
Wed, 18 Apr 2012 16:50:47 +0000 (09:50 -0700)
committerBrendan Dahl <brendan.dahl@gmail.com>
Wed, 18 Apr 2012 16:50:47 +0000 (09:50 -0700)
src/function.js

index d16805b52c0620a269789d1b31932e91b596dfaf..56b405ede2c0b72e708c7088202c40a2c6fb56f0 100644 (file)
@@ -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