mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
* GormCore/GormWrapperLoader.m: Correct problem introduced in
previous commit in [GormWrapperLoader loadFileWrapper: withDocument:]; git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23297 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1a0b921b56
commit
6aba750c3b
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-08-15 17:50-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormWrapperLoader.m: Correct problem introduced in
|
||||
previous commit in [GormWrapperLoader loadFileWrapper:
|
||||
withDocument:];
|
||||
|
||||
2006-08-15 02:16-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormFilePrefsManager.h: Add declaration for
|
||||
|
|
|
@ -73,9 +73,9 @@ static GormWrapperLoaderFactory *_sharedWrapperLoaderFactory = nil;
|
|||
while((key = [enumerator nextObject]) != nil)
|
||||
{
|
||||
NSFileWrapper *fw = [fileWrappers objectForKey: key];
|
||||
NSData *fileData = [fw regularFileContents];
|
||||
if([fw isRegularFile])
|
||||
{
|
||||
NSData *fileData = [fw regularFileContents];
|
||||
if ([imageFileTypes containsObject: [key pathExtension]])
|
||||
{
|
||||
[images addObject: [GormImage imageForData: fileData
|
||||
|
|
Loading…
Reference in a new issue