yehorbk/cross-term

Found a bug with opening settings file on Windows

Closed this issue · 1 comments

Describe the bug
On Windows operating system cannot read settings.xml on the current directory.
This is because there are no "/" in path on windows.

string file = path.substr(0, path.find_last_of("/"))

To Reproduce
Steps to reproduce the behavior:

  1. Run program
  2. See error

Specifications:

  • OS: Windows
  • Version: v1.1.0
  • Compiler: Visual Studio

Fixed on v.1.1.1