diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-29 10:45:46 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-29 10:45:46 -0400 |
| commit | 580b06638fb8b59617c93a180cb8808623fb4521 (patch) | |
| tree | 00fe50731bef4b60b0178e19e1a3e78ab0ed7ec2 /dialog_darwin.m | |
| parent | bc50405364ac907e465a37ccf1de4060a07d710d (diff) | |
More of the same conversion.
Diffstat (limited to 'dialog_darwin.m')
| -rw-r--r-- | dialog_darwin.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dialog_darwin.m b/dialog_darwin.m index 10a5f26..cd4e684 100644 --- a/dialog_darwin.m +++ b/dialog_darwin.m @@ -23,13 +23,14 @@ static void alert(id parent, NSString *primary, NSString *secondary, NSAlertStyl if (parent == nil) return (intptr_t) [box runModal]; else { - NSInteger *ret; + NSInteger ret; [box beginSheetModalForWindow:toNSWindow(parent) modalDelegate:[NSApp delegate] didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:) contextInfo:&ret]; // TODO + return (intptr_t) ret; } } |
