jlaurens / synctex

Synchronization for TeX
MIT License
57 stars 19 forks source link

synctex path finding broken on windows #63

Open sunderme opened 1 year ago

sunderme commented 1 year ago

Concerns current git head.

last_component = PathFindFileName(string);
last_extension = PathFindExtension(string);

Don't work as they assume UTF16 string and fail with 8bit coding. Tested with msys64 (ucrt) and vcpkg.

sunderme commented 1 year ago

(needs to be PathFindFileNameA(string);...)