Skip to content
Snippets Groups Projects
Commit a5d27328 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

changed namespace shortening character to ellipsis FS#1734

Ignore-this: c57d8ca5898c396f6315e8faeeb7c587

Looks like the Windows fonts are far less complete than I thought :-/

darcs-hash:20090727172305-7ad00-1614baf9238c73e489302d7e91ca8495f26ed7f0.gz
parent 469ad273
No related branches found
No related tags found
No related merge requests found
......@@ -1361,7 +1361,7 @@ function preg_quote_cb($string){
* @param int $min minimum number of chars to have left for middle shortening
* @param string $char the shortening character to use
*/
function shorten($keep,$short,$max,$min=9,$char=''){
function shorten($keep,$short,$max,$min=9,$char=''){
$max = $max - utf8_strlen($keep);
if($max < $min) return $keep;
$len = utf8_strlen($short);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment