mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
I _think_ this has just fixed an uninitialised-memory bug, but I'm
not sure. [originally from svn r5177]
This commit is contained in:
6
macosx.m
6
macosx.m
@ -49,6 +49,9 @@
|
|||||||
* - Can we arrange for a pop-up menu from the Dock icon which
|
* - Can we arrange for a pop-up menu from the Dock icon which
|
||||||
* launches specific games, perhaps?
|
* 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:
|
* Grotty implementation details that could probably be improved:
|
||||||
*
|
*
|
||||||
* - I am _utterly_ unconvinced that NSImageView was the right way
|
* - I am _utterly_ unconvinced that NSImageView was the right way
|
||||||
@ -128,9 +131,10 @@ NSMenu *typemenu;
|
|||||||
action:(SEL)act
|
action:(SEL)act
|
||||||
keyEquivalent:(NSString *)key
|
keyEquivalent:(NSString *)key
|
||||||
{
|
{
|
||||||
|
id ret = [super initWithTitle:title action:act keyEquivalent:key];
|
||||||
payload = NULL;
|
payload = NULL;
|
||||||
payload_free = NO;
|
payload_free = NO;
|
||||||
return [super initWithTitle:title action:act keyEquivalent:key];
|
return ret;
|
||||||
}
|
}
|
||||||
- (void)setPayload:(void *)d
|
- (void)setPayload:(void *)d
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user