v241

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
diff --git a/gitweb.cgi b/gitweb.cgi
index e58f246..47c458d 100755
--- a/gitweb.cgi
+++ b/gitweb.cgi
@@ -488,7 +488,7 @@
 	$co{'comment'} = \@commit_lines;
 	foreach my $title (@commit_lines) {
 		if ($title ne "") {
-			$co{'title'} = chop_str($title, 80);
+			$co{'title'} = chop_str($title, 80, 5);
 			# remove leading stuff of merges to make the interesting part visible
 			if (length($title) > 50) {
 				$title =~ s/^Automatic //;
@@ -506,7 +506,7 @@
 					$title =~ s/\/pub\/scm//;
 				}
 			}
-			$co{'title_short'} = chop_str($title, 50);
+			$co{'title_short'} = chop_str($title, 50, 5);
 			last;
 		}
 	}