You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
760 B
19 lines
760 B
Use Windows ANSI versions of the PathFind... methods |
|
|
|
Author: Michel Ludwig <michel.ludwig@kdemail.net> |
|
|
|
|
|
Index: synctex/synctex_parser_utils.c |
|
--- synctex.orig/synctex_parser_utils.c |
|
+++ synctex/synctex_parser_utils.c |
|
@@ -187,8 +187,8 @@ void _synctex_strip_last_path_extension(char * string) { |
|
char * last_component = NULL; |
|
char * last_extension = NULL; |
|
# if defined(SYNCTEX_WINDOWS) |
|
- last_component = PathFindFileName(string); |
|
- last_extension = PathFindExtension(string); |
|
+ last_component = PathFindFileNameA(string); |
|
+ last_extension = PathFindExtensionA(string); |
|
if(last_extension == NULL)return; |
|
if(last_component == NULL)last_component = string; |
|
if(last_extension>last_component){/* filter out paths like "my/dir/.hidden" */
|
|
|