diff options
| author | Manolo Gouy <Manolo> | 2011-03-29 08:39:40 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-03-29 08:39:40 +0000 |
| commit | d4f284d73cdb402c98e36e2f515f35da55024ffc (patch) | |
| tree | a0eace0a22fd2a42fba86675433456ef1d58b901 | |
| parent | c4e554ff6b5dccf73269d4609c6260e6c4120338 (diff) | |
Minor change.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index f745de887..c9dcefc1d 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1252,9 +1252,9 @@ extern "C" { - (id)windowWillReturnFieldEditor:(NSWindow *)sender toObject:(id)client { if (fl_mac_os_version < 100500) { - NSRect rect={{0,0},{20,20}}; static FLTextView *view = nil; if (!view) { + NSRect rect={{0,0},{20,20}}; view = [[FLTextView alloc] initWithFrame:rect]; } return view; |
