mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 01:21:05 +00:00
* Source/NSImage.m (+imageNamed:): Don't try to look up path
if called with nil (just return nil). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34632 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0d31480972
commit
6ee426e0ee
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
||||||
2012-01-25 Eric Wasylishen <ericwa@ericwa-MacBook>
|
2012-01-25 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSImage.m (+imageNamed:): Don't try to look up path
|
||||||
|
if called with nil (just return nil).
|
||||||
|
|
||||||
|
2012-01-25 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/NSClipView.m: Disable copy-on-scroll until after release
|
* Source/NSClipView.m: Disable copy-on-scroll until after release
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
||||||
*/
|
*/
|
||||||
[imageLock lock];
|
[imageLock lock];
|
||||||
image = (NSImage*)[nameDict objectForKey: aName];
|
image = (NSImage*)[nameDict objectForKey: aName];
|
||||||
if (image == nil)
|
if (image == nil && aName != nil)
|
||||||
{
|
{
|
||||||
NSString *path = [self _pathForImageNamed: aName];
|
NSString *path = [self _pathForImageNamed: aName];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue