Commit Graph
5 Commits
Author SHA1 Message Date
Akira Miyakoda 8eeee7e1ab Windows: Fix loading files with a long path.
Better handling of a path which exceeds MAX_PATH when converted into UTF-8.
2018-01-19 18:22:06 +09:00
Akira Miyakoda a10888cb67 Revert "EditorConfig: Workaround MSVC2017 bug."
This reverts commit 1912a948ab.
The bug has been fixed in MSVC2017 15.3.
2018-01-18 17:47:40 +09:00
Akira Miyakoda f8cd9c7e55 Windows: Use sufficient buffer for config file paths.
MAX_PATH bytes are insufficient when a very long path is converted into UTF-8.
2018-01-18 00:36:27 +09:00
Akira Miyakoda 3f73cfb835 Windows: Fix a small memory leak.
CommandLineToArgvW() allocates a memory block which must be freed by LocalFree().
2018-01-17 19:25:01 +09:00
Akira Miyakoda 5716fce283 Allow up to 10x window size on Windows.
4x can be too small for today's high resolution monitors.
2018-01-15 21:18:08 +09:00