1
0

Fix current project

This commit is contained in:
otya128
2016-12-25 14:15:54 +09:00
parent 60e51e4493
commit 5ba4424bb7
3 changed files with 8 additions and 9 deletions

View File

@@ -296,10 +296,8 @@ class PetitComputer
}
int[2] bgpage;
Projects project;
wstring currentProject;
void init()
{
currentProject = "";
project = new Projects(".");
// DerelictGL.load();
if(!exists(resourcePath))
@@ -1035,7 +1033,7 @@ class PetitComputer
}
void printPrompt()
{
if(currentProject.length) console.print("[", currentProject, "]");
if(project.currentProject.length) console.print("[", project.currentProject, "]");
console.print("OK\n");
}
Console console;