~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rather useless entropy-collection functions for Mac OS. These need work.
[sgt/putty]
/
mac
/
macdlg.c
diff --git
a/mac/macdlg.c
b/mac/macdlg.c
index
a7c3c3f
..
35b1d6d
100644
(file)
--- a/
mac/macdlg.c
+++ b/
mac/macdlg.c
@@
-1,4
+1,4
@@
-/* $Id: macdlg.c,v 1.
1 2002/12/31 01:40:14
ben Exp $ */
+/* $Id: macdlg.c,v 1.
2 2003/01/01 11:45:43
ben Exp $ */
/*
* Copyright (c) 2002 Ben Harris
* All rights reserved.
/*
* Copyright (c) 2002 Ben Harris
* All rights reserved.
@@
-74,7
+74,7
@@
void mac_clickdlg(WindowPtr window, EventRecord *event)
short item;
Session *s = (Session *)GetWRefCon(window);
short item;
Session *s = (Session *)GetWRefCon(window);
- if (DialogSelect(event, &
(DialogPtr)
window, &item))
+ if (DialogSelect(event, &window, &item))
switch (item) {
case wiSettingsOpen:
CloseWindow(window);
switch (item) {
case wiSettingsOpen:
CloseWindow(window);