X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/7902b630c527329a169c5081d6ec9247cc238dc2..f160b7b8908cac4a7ca37b49928b7855fe0a11fe:/mac/macabout.c diff --git a/mac/macabout.c b/mac/macabout.c index af92b550..4711b06a 100644 --- a/mac/macabout.c +++ b/mac/macabout.c @@ -1,4 +1,4 @@ -/* $Id: macabout.c,v 1.2 2003/02/16 13:44:18 ben Exp $ */ +/* $Id$ */ /* * Copyright (c) 1999, 2002, 2003 Ben Harris * All rights reserved. @@ -149,7 +149,7 @@ void mac_openabout(void) else { windows.about = GetDialogWindow(GetNewDialog(wAbout, NULL, (WindowPtr)-1)); - wi = smalloc(sizeof(*wi)); + wi = snew(WinInfo); memset(wi, 0, sizeof(*wi)); wi->wtype = wAbout; wi->update = &mac_updateabout; @@ -177,7 +177,7 @@ static void mac_openlicence(void) SelectWindow(windows.licence); else { windows.licence = GetNewWindow(wLicence, NULL, (WindowPtr)-1); - wi = smalloc(sizeof(*wi)); + wi = snew(WinInfo); memset(wi, 0, sizeof(*wi)); wi->wtype = wLicence; wi->update = &mac_updatelicence;