alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r20446: LJSUP-9751: Replace 17x17 userheads with...

Committer: afedorov
LJSUP-9751: Replace 17x17 userheads with corresponding 16x16

U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2011-10-28 08:11:31 UTC (rev 20445)
+++ trunk/cgi-bin/LJ/User.pm	2011-10-28 09:26:21 UTC (rev 20446)
@@ -3942,7 +3942,7 @@
     my $head_size = $opts->{head_size};
 
     my $userhead   = 'userinfo.gif';
-    my $userhead_w = 17;
+    my $userhead_w = 16;
     my $userhead_h = undef;
 
     ## special icon?
@@ -3959,7 +3959,7 @@
     ## default way
     if (!$LJ::IS_SSL && ($icon = $u->custom_usericon)) {
         $userhead = $icon;
-        $userhead_w = 17;
+        $userhead_w = 16;
     } elsif ($u->is_community) {
         if ($head_size) {
             $userhead = "comm_${head_size}.gif";
@@ -3995,7 +3995,7 @@
             $userhead_w = $head_size;
         } else {
             $userhead = "userinfo.gif";
-            $userhead_w = 17;
+            $userhead_w = 16;
         }
     }
     $userhead_h ||= $userhead_w;
@@ -7505,7 +7505,7 @@
         $journal_url = "$LJ::SITEROOT/userinfo.bml?user=$username";
         $profile_url ||= $journal_url;
         $userhead = 'userinfo.gif';
-        $userhead_w = 17;
+        $userhead_w = 16;
     } else {
         # Traverse the renames to the final journal
         if (!$opts->{'no_follow'}) {

Tags: afedorov, livejournal, pm, red_alf
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments