chiark / gitweb /
minor fixes to output
authorIan Jackson <ian@davenant.relativity.greenend.org.uk>
Sun, 17 Feb 2008 17:18:48 +0000 (17:18 +0000)
committerIan Jackson <ian@davenant.relativity.greenend.org.uk>
Sun, 17 Feb 2008 17:18:48 +0000 (17:18 +0000)
.bzrignore
output.c

index b017b1ddaded17cb54e7e64d8726cfa25fbc273f..82ccd7d4e99f9dfed4b47be39563bae872d06234 100644 (file)
@@ -11,4 +11,5 @@ vgcore.*
 prime.data
 *.cfm
 *.CFM
+*.stl
 .view-preset-[0-9]
index 39a25356b9a9b352a03891c7f2337cb44b0ca3ec..712c192015c23aa23038dbd4fde7ff6eabc11b60 100644 (file)
--- a/output.c
+++ b/output.c
@@ -411,7 +411,7 @@ static void outtriangle(int rev, const OutVertex *a,
 static void write_file(void) {
   static const char header[80]= "#!/usr/bin/meshlab\n" "binary STL file\n";
 
-  if (isatty(1)) fail("will not write binary stl to tty!");
+  if (isatty(1)) fail("will not write binary stl to tty!\n");
 
   WR(header);