Properly fixed earlier MistIn fixes
This commit is contained in:
parent
ce26adb105
commit
d7ad0b3207
3 changed files with 30 additions and 9 deletions
|
@ -26,9 +26,16 @@ namespace Mist {
|
||||||
std::cerr << "Input from stdin not yet supported" << std::endl;
|
std::cerr << "Input from stdin not yet supported" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (config->getString("output") == "-") {
|
if (!config->getBool("player")){
|
||||||
std::cerr << "Output to stdout not yet supported" << std::endl;
|
if (config->getString("output") == "-") {
|
||||||
return false;
|
std::cerr << "Output to stdout not yet supported" << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
if (config->getString("output") != "-") {
|
||||||
|
std::cerr << "File output in player mode not supported" << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//open File
|
//open File
|
||||||
|
|
|
@ -26,9 +26,16 @@ namespace Mist {
|
||||||
std::cerr << "Input from stdin not yet supported" << std::endl;
|
std::cerr << "Input from stdin not yet supported" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (config->getString("output") == "-") {
|
if (!config->getBool("player")){
|
||||||
std::cerr << "Output to stdout not yet supported" << std::endl;
|
if (config->getString("output") == "-") {
|
||||||
return false;
|
std::cerr << "Output to stdout not yet supported" << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
if (config->getString("output") != "-") {
|
||||||
|
std::cerr << "File output in player mode not supported" << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//open File
|
//open File
|
||||||
|
|
|
@ -24,9 +24,16 @@ namespace Mist {
|
||||||
std::cerr << "Input from stdin not yet supported" << std::endl;
|
std::cerr << "Input from stdin not yet supported" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (config->getString("output") == "-") {
|
if (!config->getBool("player")){
|
||||||
std::cerr << "Output to stdout not yet supported" << std::endl;
|
if (config->getString("output") == "-") {
|
||||||
return false;
|
std::cerr << "Output to stdout not yet supported" << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
if (config->getString("output") != "-") {
|
||||||
|
std::cerr << "File output in player mode not supported" << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//open File
|
//open File
|
||||||
|
|
Loading…
Add table
Reference in a new issue