From 0584a008fa85e4ec93ed7a304709e99317031921 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 23 Jan 2005 09:37:16 +0000 Subject: [PATCH] I _think_ this has just fixed an uninitialised-memory bug, but I'm not sure. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5177 cda61777-01e9-0310-a592-d414129be87e --- macosx.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/macosx.m b/macosx.m index 0f53c5b..9b59ea2 100644 --- a/macosx.m +++ b/macosx.m @@ -49,6 +49,9 @@ * - Can we arrange for a pop-up menu from the Dock icon which * launches specific games, perhaps? * + * - Why are the right and bottom edges of the Pattern grid one + * pixel thinner than they should be? + * * Grotty implementation details that could probably be improved: * * - I am _utterly_ unconvinced that NSImageView was the right way @@ -128,9 +131,10 @@ NSMenu *typemenu; action:(SEL)act keyEquivalent:(NSString *)key { + id ret = [super initWithTitle:title action:act keyEquivalent:key]; payload = NULL; payload_free = NO; - return [super initWithTitle:title action:act keyEquivalent:key]; + return ret; } - (void)setPayload:(void *)d { -- 2.11.0