mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 06:38:37 -05:00
Remove a couple of unnecessary casts that my compiler seems to have taken
exception to. [originally from svn r2402]
This commit is contained in:
parent
491f7be9fc
commit
d8413715a9
@ -1,4 +1,4 @@
|
|||||||
/* $Id: mac.c,v 1.12 2002/12/31 01:40:14 ben Exp $ */
|
/* $Id: mac.c,v 1.13 2003/01/01 11:45:43 ben Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 Ben Harris
|
* Copyright (c) 1999 Ben Harris
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -273,7 +273,7 @@ static void mac_contentclick(WindowPtr window, EventRecord *event) {
|
|||||||
mac_clickterm(window, event);
|
mac_clickterm(window, event);
|
||||||
break;
|
break;
|
||||||
case wAbout:
|
case wAbout:
|
||||||
if (DialogSelect(event, &(DialogPtr)window, &item))
|
if (DialogSelect(event, &window, &item))
|
||||||
switch (item) {
|
switch (item) {
|
||||||
case wiAboutLicence:
|
case wiAboutLicence:
|
||||||
mac_openlicence();
|
mac_openlicence();
|
||||||
|
@ -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
|
* Copyright (c) 2002 Ben Harris
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -74,7 +74,7 @@ void mac_clickdlg(WindowPtr window, EventRecord *event)
|
|||||||
short item;
|
short item;
|
||||||
Session *s = (Session *)GetWRefCon(window);
|
Session *s = (Session *)GetWRefCon(window);
|
||||||
|
|
||||||
if (DialogSelect(event, &(DialogPtr)window, &item))
|
if (DialogSelect(event, &window, &item))
|
||||||
switch (item) {
|
switch (item) {
|
||||||
case wiSettingsOpen:
|
case wiSettingsOpen:
|
||||||
CloseWindow(window);
|
CloseWindow(window);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user