]> git.saurik.com Git - winterboard.git/commitdiff
Moved date string back to center.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 15 Sep 2008 02:09:41 +0000 (02:09 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 15 Sep 2008 02:09:41 +0000 (02:09 +0000)
Library.mm

index aeb4868128d986b37b29c59965a77ed4ffb3a44e..e1b77ba7484ccb843209050c9fc7771f506594d8 100644 (file)
@@ -526,7 +526,7 @@ static void SBCalendarIconContentsView$drawRect$(SBCalendarIconContentsView<Wint
     CGSize daysize = [(NSString *)day sizeWithStyle:daystyle forWidth:width];
 
     [(NSString *)date drawAtPoint:CGPointMake(
-        (width + 4 - datesize.width) / 2, (71 - datesize.height) / 2
+        (width - datesize.width) / 2, (71 - datesize.height) / 2
     ) withStyle:datestyle];
 
     [(NSString *)day drawAtPoint:CGPointMake(