mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Clean up more wuffs-c output (before clang-format)
This commit is contained in:
1 parent
3efb204f4e
commit
4402c1c7c0
4 files changed
+95
-71
No files matched your search
@@ -117,7 +117,8 @@ func genBase(out *bytes.Buffer) error {
|
||||
}
|
||||
if i := bytes.Index(in, []byte("\n\n")); i >= 0 {
|
||||
if len(copyright) == 0 {
|
||||
copyright = in[:i+2]
|
||||
// Take only one of the two trailing '\n's.
|
||||
copyright = in[:i+1]
|
||||
}
|
||||
in = in[i+2:]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user