diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-01-23 09:37:16 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-01-23 09:37:16 +0000 |
| commit | fa9f4f452264469797645eb2d41d6de15b26a71d (patch) | |
| tree | ddda62b7e0049d43327b9342af133a19614c10fa | |
| parent | c166bdc6458ef63df303be53596b4850719866ca (diff) | |
| download | puzzles-fa9f4f452264469797645eb2d41d6de15b26a71d.zip puzzles-fa9f4f452264469797645eb2d41d6de15b26a71d.tar.gz puzzles-fa9f4f452264469797645eb2d41d6de15b26a71d.tar.bz2 puzzles-fa9f4f452264469797645eb2d41d6de15b26a71d.tar.xz | |
I _think_ this has just fixed an uninitialised-memory bug, but I'm
not sure.
[originally from svn r5177]
| -rw-r--r-- | macosx.m | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 { |