Do not use GS internals but standard methods

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38056 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2014-09-02 09:36:30 +00:00
parent c312302b39
commit 9e041e9b35
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2014-09-02 Riccardo Mottola <rm@gnu.org>
* Framework/PCAddFilesPanel.m
* Framework/PCProjectBuilder.m
Do not use GS internals but standard methods.
2014-08-29 Riccardo Mottola <rm@gnu.org>
* Modules/Editors/ProjectCenter/GNUmakefile

View file

@ -1,7 +1,7 @@
/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2004-2011 Free Software Foundation
Copyright (C) 2004-2014 Free Software Foundation
Authors: Serg Stoyan
Riccardo Mottola
@ -107,9 +107,9 @@ static PCAddFilesPanel *addFilesPanel = nil;
{
NSString *category = [fileTypePopup titleOfSelectedItem];
if ([_delegate respondsToSelector:@selector(categoryChangedTo:)])
if ([[self delegate] respondsToSelector:@selector(categoryChangedTo:)])
{
[_delegate categoryChangedTo:category];
[[self delegate] categoryChangedTo:category];
}
}

View file

@ -873,7 +873,7 @@
NSInteger position = 0;
NSRange range = NSMakeRange(position,1);
while ([[lineString substringFromRange:range] isEqualToString:@" "])
while ([[lineString substringWithRange:range] isEqualToString:@" "])
{
range.location = ++position;
}