Skip to content

Commit 87f8f48

Browse files
Darryl H. ThomasAlanQuatermain
authored andcommitted
Fix misplaced var declaration
1 parent 66099c5 commit 87f8f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/AQGridViewCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,10 @@ - (void) _beginBackgroundHighlight: (BOOL) highlightOn animated: (BOOL) animated
301301
{
302302
if ( (_cellFlags.usingDefaultSelectedBackgroundView == 1) && (_selectedBackgroundView == nil) )
303303
{
304+
NSString *imageName = nil;
304305
#ifdef BUILTIN_IMAGES
305306
unsigned char * pngBytes = AQGridSelection_png;
306307
NSUInteger pngLength = AQGridSelection_png_len;
307-
NSString *imageName = nil;
308308

309309
switch ( _cellFlags.selectionStyle )
310310
{

0 commit comments

Comments
 (0)