Bug - import

- Fixed bug that only allowed import of *text* if there was more
  than one line of it.
- Fixed some whacko formatting.
This commit is contained in:
Paul Beckingham
2010-08-08 16:26:40 -04:00
parent 1093119f40
commit 07e36e695d

View File

@@ -162,7 +162,7 @@ static fileType determineFileType (const std::vector <std::string>& lines)
return csv; return csv;
// Looks like 'text' is the default case, if there is any data at all. // Looks like 'text' is the default case, if there is any data at all.
if (lines.size () > 1) if (lines.size () >= 1)
return text; return text;
return not_a_clue; return not_a_clue;