git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b178e3
)
gcc 2.95.x fixes
author
kramm
<kramm>
Sat, 23 Jul 2005 08:26:24 +0000
(08:26 +0000)
committer
kramm
<kramm>
Sat, 23 Jul 2005 08:26:24 +0000
(08:26 +0000)
src/swfbbox.c
patch
|
blob
|
history
diff --git
a/src/swfbbox.c
b/src/swfbbox.c
index
52296f8
..
712c2d0
100644
(file)
--- a/
src/swfbbox.c
+++ b/
src/swfbbox.c
@@
-232,8
+232,9
@@
static placement_t* readPlacements(SWF*swf)
while(tag) {
if(tag->id == ST_PLACEOBJECT || tag->id == ST_PLACEOBJECT2) {
SWFPLACEOBJECT*po = rfx_alloc(sizeof(SWFPLACEOBJECT));
while(tag) {
if(tag->id == ST_PLACEOBJECT || tag->id == ST_PLACEOBJECT2) {
SWFPLACEOBJECT*po = rfx_alloc(sizeof(SWFPLACEOBJECT));
+ int id;
swf_GetPlaceObject(tag, po);
swf_GetPlaceObject(tag, po);
- int id = po->id;
+ id = po->id;
if(po->move) {
fprintf(stderr, "MOVE tags not supported with -c");
}
if(po->move) {
fprintf(stderr, "MOVE tags not supported with -c");
}
@@
-354,7
+355,7
@@
static void textcallback(void*self, int*chars, int*xpos, int nr, int fontid, int
/* not tested yet- the matrix/fontsize calculation is probably all wrong */
int x = xstart + xpos[t];
int y = ystart;
/* not tested yet- the matrix/fontsize calculation is probably all wrong */
int x = xstart + xpos[t];
int y = ystart;
- int ch;
+ int ch = 0;
SRECT newglyphbbox, glyphbbox = font->layout->bounds[chars[t]];
MATRIX m = bounds->m;
SPOINT p;
SRECT newglyphbbox, glyphbbox = font->layout->bounds[chars[t]];
MATRIX m = bounds->m;
SPOINT p;