When running with relative path, Zeta complains: "Don't change the current working directory before creating the BApplication.".

Should work this way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23291 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-01-08 22:47:59 +00:00
parent 65a544dfb6
commit 866072435f

View File

@ -124,6 +124,7 @@ CodyCam::CodyCam()
fPort(0),
fVideoControlWindow(NULL)
{
chdir("/boot/home");
}
@ -922,7 +923,6 @@ ControlWindow::QuitRequested()
int main() {
chdir("/boot/home");
CodyCam app;
app.Run();
return 0;