mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Tidied GSFindNamedFile a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20912 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
daaa1f5dd7
commit
2936dce70f
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ GSFindNamedFile(NSArray *paths, NSString *aName, NSString *anExtension)
|
|||
/* make up the name with extension if given */
|
||||
if (anExtension != nil)
|
||||
{
|
||||
file_name = [NSString stringWithFormat: @"%@.%@", aName, anExtension];
|
||||
file_name = [aName stringByAppendingPathExtension: anExtension];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue