X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Frender.c;h=419affa59f08b7c015875f729ff20ecad17d0212;hb=88f5e7308328d00b3414f34f4313e1a489df2701;hp=0ef78f1af653b27bac865404a255df2aadaaa6eb;hpb=35fab6526c3b8491a05769cb72e24c00316c5d3f;p=pspp diff --git a/src/output/render.c b/src/output/render.c index 0ef78f1af6..419affa59f 100644 --- a/src/output/render.c +++ b/src/output/render.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009, 2010, 2011, 2013 Free Software Foundation, Inc. + Copyright (C) 2009, 2010, 2011, 2013, 2014 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 @@ -1160,7 +1160,7 @@ cell_is_breakable (const struct render_break *b, int cell) const struct render_page *page = b->page; enum table_axis axis = b->axis; - return cell_width (page, axis, cell) > page->params->size[axis] / 2; + return cell_width (page, axis, cell) >= page->params->min_break[axis]; } /* render_page_select() and helpers. */