From 6e5085083e4882455af1931d58f6a3e88286bcf9 Mon Sep 17 00:00:00 2001 From: rfm Date: Wed, 23 Jun 2010 09:00:19 +0000 Subject: [PATCH] Fix error in last change (remove unnecessary check). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30834 72102866-910b-0410-8b05-ffd578937521 --- Source/NSBundle.m | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/NSBundle.m b/Source/NSBundle.m index 89c579009..661330490 100644 --- a/Source/NSBundle.m +++ b/Source/NSBundle.m @@ -1693,14 +1693,6 @@ IF_NO_GC( { ext = nil; } - if (ext == nil) - { - ext = [name pathExtension]; - if (ext != nil) - { - name = [name stringByDeletingPathExtension]; - } - } pathlist = [[self _bundleResourcePathsWithRootPath: rootPath subPath: subPath] objectEnumerator];