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:
82262c7
)
added more precise error reporting
author
kramm
<kramm>
Sun, 16 Apr 2006 13:37:59 +0000
(13:37 +0000)
committer
kramm
<kramm>
Sun, 16 Apr 2006 13:37:59 +0000
(13:37 +0000)
pdf2swf/xpdf/Link.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/xpdf/Link.cc
b/pdf2swf/xpdf/Link.cc
index
898ca20
..
422edc8
100644
(file)
--- a/
pdf2swf/xpdf/Link.cc
+++ b/
pdf2swf/xpdf/Link.cc
@@
-430,10
+430,9
@@
LinkGoTo::LinkGoTo(Object *destObj) {
delete dest;
dest = NULL;
}
-
// error
} else {
- error(-1, "Illegal annotation destination");
+ error(-1, "Illegal annotation destination %d", destObj->getType());
}
}
@@
-468,10
+467,9
@@
LinkGoToR::LinkGoToR(Object *fileSpecObj, Object *destObj) {
delete dest;
dest = NULL;
}
-
// error
} else {
- error(-1, "Illegal annotation destination");
+ error(-1, "Illegal annotation destination %d", destObj->getType());
}
}