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:
parent
65a544dfb6
commit
866072435f
@ -124,6 +124,7 @@ CodyCam::CodyCam()
|
|||||||
fPort(0),
|
fPort(0),
|
||||||
fVideoControlWindow(NULL)
|
fVideoControlWindow(NULL)
|
||||||
{
|
{
|
||||||
|
chdir("/boot/home");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -922,7 +923,6 @@ ControlWindow::QuitRequested()
|
|||||||
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
chdir("/boot/home");
|
|
||||||
CodyCam app;
|
CodyCam app;
|
||||||
app.Run();
|
app.Run();
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user