Revision: 76540
http://sourceforge.net/p/brlcad/code/76540
Author: brlcad
Date: 2020-07-28 02:15:47 +0000 (Tue, 28 Jul 2020)
Log Message:
-----------
also break on carriage returns just in case we're fed a windows vdeck input.
this should make them seem like double-newlines.
Modified Paths:
--------------
brlcad/trunk/src/conv/vdeck/vdeck.c
Modified: brlcad/trunk/src/conv/vdeck/vdeck.c
===================================================================
--- brlcad/trunk/src/conv/vdeck/vdeck.c 2020-07-28 01:35:51 UTC (rev 76539)
+++ brlcad/trunk/src/conv/vdeck/vdeck.c 2020-07-28 02:15:47 UTC (rev 76540)
@@ -1676,6 +1676,7 @@
for (i = 0; i < maxchars; ++i) {
c = getchar();
switch (c) {
+ case '\r':
case '\n':
case EOF:
/* end of input */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits