projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1bdec
)
Remove warning for big images in fixed-size cells; images are always scaled down...
author
Emden R. Gansner
<erg@alum.mit.edu>
Thu, 9 Jan 2014 22:41:27 +0000
(17:41 -0500)
committer
Emden R. Gansner
<erg@alum.mit.edu>
Thu, 9 Jan 2014 22:41:27 +0000
(17:41 -0500)
lib/common/htmltable.c
patch
|
blob
|
history
diff --git
a/lib/common/htmltable.c
b/lib/common/htmltable.c
index d298b4b74ef6d374e36abb41d39ac4b6c0680821..8f19b9c754b950361881be43218afee025d2a02e 100644
(file)
--- a/
lib/common/htmltable.c
+++ b/
lib/common/htmltable.c
@@
-1154,7
+1154,7
@@
size_html_cell(graph_t * g, htmlcell_t * cp, htmltbl_t * parent,
if (cp->data.flags & FIXED_FLAG) {
if (cp->data.width && cp->data.height) {
- if ((
cp->data.width < sz.x) || (cp->data.height < sz.y
)) {
+ if ((
(cp->data.width < sz.x) || (cp->data.height < sz.y)) && (cp->child.kind != HTML_IMAGE
)) {
agerr(AGWARN, "cell size too small for content\n");
rv = 1;
}