Warning, /graphics/okular/core/synctex/patches/16-use-windows-ansi-api-path-find.diff is written in an unsupported language. File is not indexed.
0001 Use Windows ANSI versions of the PathFind... methods
0002
0003 Author: Michel Ludwig <michel.ludwig@kdemail.net>
0004
0005
0006 Index: synctex/synctex_parser_utils.c
0007 --- synctex.orig/synctex_parser_utils.c
0008 +++ synctex/synctex_parser_utils.c
0009 @@ -187,8 +187,8 @@ void _synctex_strip_last_path_extension(char * string) {
0010 char * last_component = NULL;
0011 char * last_extension = NULL;
0012 # if defined(SYNCTEX_WINDOWS)
0013 - last_component = PathFindFileName(string);
0014 - last_extension = PathFindExtension(string);
0015 + last_component = PathFindFileNameA(string);
0016 + last_extension = PathFindExtensionA(string);
0017 if(last_extension == NULL)return;
0018 if(last_component == NULL)last_component = string;
0019 if(last_extension>last_component){/* filter out paths like "my/dir/.hidden" */