Fix for "Fl_Native_File_Chooser_MAC.mm compilation warning" (#627)

This commit is contained in:
ManoloFLTK 2023-01-04 18:02:29 +01:00
parent 13f2ea664a
commit ae240340ab
1 changed files with 1 additions and 1 deletions

View File

@ -569,7 +569,7 @@ static char *prepareMacFilter(int count, const char *filter, char **patterns) {
static NSPopUpButton *createPopupAccessory(NSSavePanel *panel, const char *filter, const char *title, int rank)
{
NSPopUpButton *popup;
NSPopUpButton *popup = nil;
NSRect rectview = NSMakeRect(5, 5, 350, filter ? 60 : 30);
NSView *view = [[[NSView alloc] initWithFrame:rectview] autorelease];
NSRect rectbox = NSMakeRect(0, 3, 140, 20 );