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 b017b1d..82ccd7d 100644 (file)
@@ -11,4 +11,5 @@ vgcore.*
 prime.data
 *.cfm
 *.CFM
+*.stl
 .view-preset-[0-9]
index 39a2535..712c192 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);