Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a43e3f
)
eda/ers: Fix for missing total footer / footer being continued when it shouldn't
author
Jerome St-Louis
<jerome@ecere.com>
Fri, 10 May 2013 21:24:28 +0000
(17:24 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Fri, 10 May 2013 21:24:28 +0000
(17:24 -0400)
eda/libeda/src/ers.ec
patch
|
blob
|
history
diff --git
a/eda/libeda/src/ers.ec
b/eda/libeda/src/ers.ec
index
44b4708
..
ace3024
100644
(file)
--- a/
eda/libeda/src/ers.ec
+++ b/
eda/libeda/src/ers.ec
@@
-307,6
+307,7
@@
public:
if(report.groupings[level].footer)
{
Detail groupEnd = eInstance_New(report.groupings[level].footer);
+ int hh = (insideSize - pageTop - footerHeight) - groupEnd.size.h;
groupEnd.level = level;
if(AddDetailToPage(destination, groupEnd))
{
@@
-314,7
+315,7
@@
public:
loop = false;
break;
}
- else if(
overlap - groupEnd.size.h < 0
)
+ else if(
hh < 0) // Use the value before calling AddDetailToPage(
)
{
overlap = 0;
groupEnd.Destroy(0);