]> Shamusworld >> Repos - ardour-manual-diverged/commitdiff
Fix for subtle bug in implode.
authorShamus Hammons <jlhamm@acm.org>
Sun, 15 Jan 2017 01:18:40 +0000 (19:18 -0600)
committerShamus Hammons <jlhamm@acm.org>
Sun, 15 Jan 2017 01:18:40 +0000 (19:18 -0600)
Explode has some problems too, will have to fix a few things like when
titles go missing from the header.

implode
implode.cpp
master-doc.txt

diff --git a/implode b/implode
index a63c3a8315eef4cf4faa43bbf32c99c1b6efd3e8..e2ec1c7d0019d312f0417ace66982ad2a1b5cac0 100755 (executable)
Binary files a/implode and b/implode differ
index 1f48395c5b350e8eb4073ac0b2092b18e6449f9a..1d41010bc0caa2c1d310586ebb9509fac821009d 100644 (file)
@@ -96,7 +96,7 @@ void CopyFileToStream(char * from, FILE * toFile)
        long length = ftell(fromFile);
        rewind(fromFile);
        SkipHeader(fromFile);
-       long skipped = ftell(fromFile) - 1;
+       long skipped = ftell(fromFile);
 
        for(long i=skipped; i<length; i++)
                fputc(fgetc(fromFile), toFile);
index 5b830fa0c75807a5972ddb7bfc25df6334b79663..b6d9a7f0a0bebbcaa55412ff7d813b3e74d3362e 100644 (file)
@@ -5040,7 +5040,6 @@ either
   you are going to use any of the Region grid units.
 </p>
 
-
 ---
 title: the Edit Point Control
 part: subchapter
@@ -5349,7 +5348,7 @@ part: subchapter
 </dl>
 
 ---
-Title: The Summary
+title: The Summary
 part: subchapter
 ---