mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Another Windows fix.
This commit is contained in:
@@ -72,6 +72,12 @@ int main(int argc, const char* argv[])
|
||||
{
|
||||
PROTO message;
|
||||
|
||||
std::string filename = argv[1];
|
||||
#if defined _WIN32
|
||||
for (char& b : filename)
|
||||
if (b == '/')
|
||||
b = '\\';
|
||||
#endif
|
||||
std::ifstream input(argv[1]);
|
||||
if (!input)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user