mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-17 08:01:24 +00:00
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:
parent
c312302b39
commit
9e041e9b35
3 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue