summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-06-01 00:23:57 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-06-01 00:23:57 +0000
commit9c7ec90412754b36441871b6869ba582b10bb51a (patch)
treef77e17eec5e2e0dbfea3f7c7b5c3f8db1638d182 /src
parent0aa85c540cc0b440d6ae46720f3496ce3733d4db (diff)
Fix open-documents callback stuff.
Add open documents callback to FLUID. Add FLUID application to fltk.list file for packaging. Add FLUID application icon and data files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_mac.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx
index 779d20112..fe046222e 100644
--- a/src/Fl_mac.cxx
+++ b/src/Fl_mac.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_mac.cxx,v 1.1.2.44 2003/05/30 07:03:09 easysw Exp $"
+// "$Id: Fl_mac.cxx,v 1.1.2.45 2003/06/01 00:23:57 easysw Exp $"
//
// MacOS specific code for the Fast Light Tool Kit (FLTK).
//
@@ -1026,10 +1026,10 @@ static OSErr OpenAppleEventHandler(const AppleEvent *appleEvt,
fl_lock_function();
// Open the documents via the callback...
- if (AECountItems(theDocuments, &n) == noErr) {
+ if (AECountItems(&documents, &n) == noErr) {
for (i = 1; i <= n; i ++) {
// Get the next FSSpec record...
- AEGetNthPtr(theDocuments, i, typeFSS, &keyWd, &typeCd,
+ AEGetNthPtr(&documents, i, typeFSS, &keyWd, &typeCd,
(Ptr)&fileSpec, sizeof(fileSpec),
(actSz = sizeof(fileSpec), &actSz));
@@ -1861,6 +1861,6 @@ void Fl::paste(Fl_Widget &receiver, int clipboard) {
//
-// End of "$Id: Fl_mac.cxx,v 1.1.2.44 2003/05/30 07:03:09 easysw Exp $".
+// End of "$Id: Fl_mac.cxx,v 1.1.2.45 2003/06/01 00:23:57 easysw Exp $".
//