Another Windows fix.

This commit is contained in:
David Given
2025-07-27 23:08:37 +01:00
parent c6e34d2d88
commit ed96ebac79

View File

@@ -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)
{