mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-19 00:51:51 +00:00
initialize range to ensure it does not ocntain garbage later
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31628 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d27ac097b1
commit
2a4aa4f0b8
2 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,9 @@
|
|||
* Framework/PCProject.m:
|
||||
Fix memory leak.
|
||||
|
||||
* Modules/Editors/ProjectCenter/PCEditor.m:
|
||||
Initialize range to ensure it does not contain garbage.
|
||||
|
||||
2010-11-16 German Arias <german@xelalug.org>
|
||||
* Framework/PCFileManager.m: Allow open .project directories
|
||||
to add files placed at project directory in AddFiles panel.
|
||||
|
|
|
@ -506,6 +506,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
methodRange = NSMakeRange(0, 0);
|
||||
enumerator = [parserMethods objectEnumerator];
|
||||
while ((method = [enumerator nextObject]))
|
||||
{
|
||||
|
@ -928,6 +929,7 @@
|
|||
|
||||
NSLog(@"SCROLL to class: \"%@\"", className);
|
||||
|
||||
classNameRange = NSMakeRange(0, 0);
|
||||
enumerator = [parserClasses objectEnumerator];
|
||||
while ((class = [enumerator nextObject]))
|
||||
{
|
||||
|
@ -955,6 +957,7 @@
|
|||
|
||||
NSLog(@"SCROLL to method: \"%@\"", methodName);
|
||||
|
||||
methodNameRange = NSMakeRange(0, 0);
|
||||
enumerator = [parserMethods objectEnumerator];
|
||||
while ((method = [enumerator nextObject]))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue