X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/6cb61a05b6157236bbea7b351cfc741eb6853605..5221f5542f406a13b6eba29835dd1958a22c8d76:/mac/macdlg.c diff --git a/mac/macdlg.c b/mac/macdlg.c index a7c3c3f5..35b1d6db 100644 --- 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. @@ -74,7 +74,7 @@ void mac_clickdlg(WindowPtr window, EventRecord *event) short item; Session *s = (Session *)GetWRefCon(window); - if (DialogSelect(event, &(DialogPtr)window, &item)) + if (DialogSelect(event, &window, &item)) switch (item) { case wiSettingsOpen: CloseWindow(window);