Branch: Tag:

2000-12-30

2000-12-30 07:21:15 by Per Hedbor <ph@opera.com>

Do not divide the number of images by two any more

Rev: server/modules/graphics/cimg.pike:1.35
Rev: server/modules/graphics/gbutton.pike:1.74
Rev: server/modules/graphics/graphic_text.pike:1.254
Rev: server/modules/graphics/tablist.pike:1.48

1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.253 2000/12/05 00:40:12 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.254 2000/12/30 07:21:15 per Exp $";      #include <module.h>   inherit "module";
499:      string status() {    array s=image_cache->status(); -  return sprintf("<b>Images in cache:</b> %d images<br />\n<b>Cache size:</b> %s", -  s[0]/2, Roxen.sizetostring(s[1])); +  return sprintf("<b>Images in cache:</b> %d images<br />\n" +  "<b>Cache size:</b> %s", +  s[0], Roxen.sizetostring(s[1]));   }      mapping(string:function) query_action_buttons() {