summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/misc.c b/misc.c
index 41d7e38..7a1c59d 100644
--- a/misc.c
+++ b/misc.c
@@ -236,14 +236,9 @@ wrappedline *wrap_para(word *text, int width, int subsequentwidth,
/*
* Special case: if we're at the very end of the
* paragraph, we don't score penalty points for the
- * white space left on the line, unless the line
- * contains no spaces (widow penalty). The widow
- * penalty is the square of 1/4 the line width.
+ * white space left on the line.
*/
- if (seenspace)
- cost = 0;
- else
- cost = (thiswidth/4)*(thiswidth/4);
+ cost = 0;
} else {
cost = (thiswidth-linelen) * (thiswidth-linelen);
cost += wrapwords[i+j].cost;