diff options
author | Damien Doligez <damien.doligez-inria.fr> | 1998-10-07 19:01:42 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 1998-10-07 19:01:42 +0000 |
commit | 8f840486be093cce6c71e778f1ffd6e0752018ae (patch) | |
tree | dffbe2f5522d71140876086863f8d53bdebee2f6 /maccaml/events.c | |
parent | 1785aa4ef9afce6807d5d810687b376620618cf9 (diff) |
Macintosh + ANSIfication
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2112 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'maccaml/events.c')
-rw-r--r-- | maccaml/events.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/maccaml/events.c b/maccaml/events.c index 578f3e0f5..51210d1e2 100644 --- a/maccaml/events.c +++ b/maccaml/events.c @@ -47,7 +47,9 @@ static void DoDiskEvent (EventRecord *evt) if (evt->message >> 16 != noErr){ DILoad (); err = DIBadMount (pt, evt->message); /* [pt] is ignored */ - if (err != noErr) ErrorAlertGeneric (err); /* XXX or nothing ? */ + if (err != noErr && err != 1 && err != 2){ + ErrorAlertGeneric (err); /* XXX or nothing ? */ + } DIUnload (); } } |