Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #62 from nuarhu/master

parseIdentify() : skip also lines containing only whitespace
  • Loading branch information...
commit b830fe9f13d539f495cc17f6e15a39856a4e32ec 2 parents cba60ba + d55203e
Rasmus authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 imagemagick.js
4 imagemagick.js
@@ -110,8 +110,8 @@ function parseIdentify(input) {
110 110
111 111 for (i in lines) {
112 112 currentLine = lines[i];
113   - if (currentLine.length > 0) {
114   - indent = currentLine.search(/\S/);
  113 + indent = currentLine.search(/\S/);
  114 + if (indent >= 0) {
115 115 comps = currentLine.split(': ');
116 116 if (indent > prevIndent) indents.push(indent);
117 117 while (indent < prevIndent && props.length) {

0 comments on commit b830fe9

Please sign in to comment.
Something went wrong with that request. Please try again.