projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pspp-dump-sav: More gracefully handle empty multiple response sets.
[pspp]
/
src
/
output
/
render.c
diff --git
a/src/output/render.c
b/src/output/render.c
index 8332b85d98ecb51e1ad3849eb6072eab5ceec130..a91e1f7b799570aa4a29689b984fdf17af33758c 100644
(file)
--- a/
src/output/render.c
+++ b/
src/output/render.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2010, 2011
, 2013
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-384,7
+384,7
@@
distribute_spanned_width (int width,
w += width * unspanned * d0;
}
w += width * unspanned * d0;
}
- rows[x].width =
w / d
;
+ rows[x].width =
MAX (rows[x].width, w / d)
;
w -= rows[x].width * d;
}
}
w -= rows[x].width * d;
}
}