X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=OSX%2FInvertedSlider.m;h=327162a355b2ea62a4fdffc51b0d96df252e920d;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=e5c23b28abd28daaeac503b50bcd2e88fe0669f8;hpb=c494fd2e6b3b25582375d62e40f4f5cc984ca424;p=xscreensaver diff --git a/OSX/InvertedSlider.m b/OSX/InvertedSlider.m index e5c23b28..327162a3 100644 --- a/OSX/InvertedSlider.m +++ b/OSX/InvertedSlider.m @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 2006 Jamie Zawinski +/* xscreensaver, Copyright (c) 2006-2010 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -63,6 +63,7 @@ - (NSAttributedString *)attributedStringValue; { + // #### "Build and Analyze" says this leaks. Unsure whether this is true. return [[NSAttributedString alloc] initWithString:[self stringValue]]; } @@ -70,7 +71,7 @@ /* Implment all setter methods in terms of "setDoubleValue", above. */ --(void) setFloatValue:(double)v +-(void) setFloatValue:(float)v { [self setDoubleValue:(double)v]; }