|
|
@ -16,9 +16,9 @@ int main (void)
|
|
|
|
if(!DF.Attach())
|
|
|
|
if(!DF.Attach())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
cerr << "DF not found" << endl;
|
|
|
|
cerr << "DF not found" << endl;
|
|
|
|
return 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
if (DF.InitViewAndCursor())
|
|
|
|
if (DF.InitViewAndCursor())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int32_t x,y,z;
|
|
|
|
int32_t x,y,z;
|
|
|
@ -46,7 +46,7 @@ int main (void)
|
|
|
|
if(!DF.Detach())
|
|
|
|
if(!DF.Detach())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
cerr << "Can't detach from DF" << endl;
|
|
|
|
cerr << "Can't detach from DF" << endl;
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#ifndef LINUX_BUILD
|
|
|
|
#ifndef LINUX_BUILD
|
|
|
|
cout << "Done. Press any key to continue" << endl;
|
|
|
|
cout << "Done. Press any key to continue" << endl;
|
|
|
|