mirror of
https://github.com/ksherlock/ProFUSE-Image-Opener.git
synced 2025-02-27 17:29:36 +00:00
.
This commit is contained in:
parent
0aeca5de81
commit
66506c39ba
@ -100,7 +100,9 @@ static unsigned ExtToTag(NSString *ext)
|
|||||||
[window makeKeyAndOrderFront: nil];
|
[window makeKeyAndOrderFront: nil];
|
||||||
[window makeFirstResponder: nil];
|
[window makeFirstResponder: nil];
|
||||||
|
|
||||||
|
// if auto-released, the window will close.
|
||||||
return controller;
|
return controller;
|
||||||
|
//return [controller autorelease];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -300,6 +302,8 @@ static unsigned ExtToTag(NSString *ext)
|
|||||||
NSString *string = [[NSString alloc] initWithData: data encoding: NSUTF8StringEncoding];
|
NSString *string = [[NSString alloc] initWithData: data encoding: NSUTF8StringEncoding];
|
||||||
|
|
||||||
[self appendString: string];
|
[self appendString: string];
|
||||||
|
[string release];
|
||||||
|
|
||||||
[_handle readInBackgroundAndNotify];
|
[_handle readInBackgroundAndNotify];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user