Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/70fd706e65ba0470ac7d2...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/70fd706e65ba0470ac7d289...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/70fd706e65ba0470ac7d28964...
The branch, master has been updated
via 70fd706e65ba0470ac7d289646efa6b785c91ccb (commit)
from 5ea99617371386a99fe9ddc4759b310069ae8440 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=70fd706e65ba0470ac7...
commit 70fd706e65ba0470ac7d289646efa6b785c91ccb
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
NULL-terminate font name in IFF DR2D FONS
diff --git a/amiga/iff_dr2d.c b/amiga/iff_dr2d.c
index 32a49ca..0d4d77e 100644
--- a/amiga/iff_dr2d.c
+++ b/amiga/iff_dr2d.c
@@ -280,8 +280,8 @@ bool ami_svg_to_dr2d(struct IFFHandle *iffh, const char *buffer,
fons = AllocVecTagList(sizeof(struct fons_struct), NULL);
if(!(PushChunk(iffh,0,ID_FONS,IFFSIZE_UNKNOWN)))
{
- WriteChunkBytes(iffh,fons,sizeof(struct fons_struct));
- WriteChunkBytes(iffh,"Topaz",5);
+ WriteChunkBytes(iffh, fons, sizeof(struct fons_struct));
+ WriteChunkBytes(iffh, "Topaz\0", 6);
PopChunk(iffh);
}
FreeVec(fons);
-----------------------------------------------------------------------
Summary of changes:
amiga/iff_dr2d.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/amiga/iff_dr2d.c b/amiga/iff_dr2d.c
index 32a49ca..0d4d77e 100644
--- a/amiga/iff_dr2d.c
+++ b/amiga/iff_dr2d.c
@@ -280,8 +280,8 @@ bool ami_svg_to_dr2d(struct IFFHandle *iffh, const char *buffer,
fons = AllocVecTagList(sizeof(struct fons_struct), NULL);
if(!(PushChunk(iffh,0,ID_FONS,IFFSIZE_UNKNOWN)))
{
- WriteChunkBytes(iffh,fons,sizeof(struct fons_struct));
- WriteChunkBytes(iffh,"Topaz",5);
+ WriteChunkBytes(iffh, fons, sizeof(struct fons_struct));
+ WriteChunkBytes(iffh, "Topaz\0", 6);
PopChunk(iffh);
}
FreeVec(fons);
--
NetSurf Browser