diff --git a/pcbnew/dsn.cpp b/pcbnew/dsn.cpp index aff962aa52..cbbc1d0fba 100644 --- a/pcbnew/dsn.cpp +++ b/pcbnew/dsn.cpp @@ -601,12 +601,22 @@ L_read: goto exit; } - cur = next; + cur = start; + + // skip leading whitespace + while( cur= limit ) goto L_read;