2006/ack ack.pl,1.6,1.7

Update of /sources/public/2006/ack
In directory hutz:/tmp/cvs-serv7393

Modified Files:
	ack.pl 
Log Message:
Avoid line wrapping with link counts.

Index: ack.pl
===================================================================
RCS file: /sources/public/2006/ack/ack.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ack.pl	22 May 2006 21:48:01 -0000	1.6
+++ ack.pl	25 May 2006 13:45:29 -0000	1.7
@@ -87,7 +87,7 @@
     my $foo = encode_entities($l > ML ?
       substr($_, 0, ML/2) . "[...]" . substr($_, $l - ML/2) : $_);
     print "<tr><td><a id=\"L$md5\" href=\"$url\" onclick=\"check(this.href,'$md5');return false\">$foo</a>";
-    print " ($links{$_})" if ($links{$_} > 1);
+    print "&nbsp;($links{$_})" if ($links{$_} > 1);
     print "</td><td class=\"na\" id=\"S$md5\">uninitialized</td></tr>\n";
   }
   print "</tbody>\n</table>\n";
resource limits reached

Received on Thursday, 25 May 2006 13:45:38 UTC