Correctly initialize the path variables.

Use the current project file, not the default.
This commit is contained in:
Bill Currie 2010-10-10 15:52:18 +09:00
parent c95ef59ea8
commit 22885a48ad

View file

@ -39,7 +39,7 @@ id project_i;
{ {
NSString *ts; NSString *ts;
ts = [preferences_i getProjectPath]; ts = path_projectinfo;
ts = path_basepath = [[ts stringByDeletingLastPathComponent] retain]; ts = path_basepath = [[ts stringByDeletingLastPathComponent] retain];
path_progdir = [[ts stringByAppendingPathComponent: SUBDIR_ENT] retain]; path_progdir = [[ts stringByAppendingPathComponent: SUBDIR_ENT] retain];