Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
linearray committed Aug 18, 2012
1 parent 669826a commit 430f107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/textParsers.js
Expand Up @@ -130,8 +130,8 @@ var parseByteA = function(val) {
out += val[i]
++i
}else{
if(val.substring(i+1, i+4).match(/([0-7]){3}/)){
out += String.fromCharCode(parseInt(val.substring(i+1,i+4),8))
if(val.substr(i+1,3).match(/[0-7]{3}/)){
out += String.fromCharCode(parseInt(val.substr(i+1,3),8))
i += 4
}else{
backslashes = 1
Expand Down

0 comments on commit 430f107

Please sign in to comment.