summaryrefslogtreecommitdiff
path: root/graphics/asymptote/fileio.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/fileio.cc')
-rw-r--r--graphics/asymptote/fileio.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/asymptote/fileio.cc b/graphics/asymptote/fileio.cc
index 29752e9524..0fb16e7ab5 100644
--- a/graphics/asymptote/fileio.cc
+++ b/graphics/asymptote/fileio.cc
@@ -58,7 +58,7 @@ void ifile::ignoreComment()
if(comment == 0) return;
int c=stream->peek();
bool eol=c == '\n';
- if((csvmode || linemode) && eol) {nullfield=true; return;}
+ if(csvmode && eol) {nullfield=true; return;}
if(csvmode && c == ',') nullfield=true;
for(;;) {
while(isspace(c=stream->peek())) {