mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Change whitespace in synctex patches
15-prevent-leaks-and-segfault.diff did not apply cleanly with quilt. After fixing this, some of the other patches needed a refresh.
This commit is contained in:
parent
02a4cfb26a
commit
b6573a2713
|
@ -7,7 +7,7 @@ Index: synctex/synctex_parser_utils.c
|
|||
===================================================================
|
||||
--- synctex.orig/synctex_parser_utils.c
|
||||
+++ synctex/synctex_parser_utils.c
|
||||
@@ -101,8 +101,26 @@ int _synctex_log(int level, const char *
|
||||
@@ -103,8 +103,26 @@ int _synctex_log(int level, const char *
|
||||
char *buff;
|
||||
size_t len;
|
||||
OutputDebugStringA(prompt);
|
||||
|
|
|
@ -27,7 +27,7 @@ Index: synctex/synctex_parser_utils.c
|
|||
===================================================================
|
||||
--- synctex.orig/synctex_parser_utils.c
|
||||
+++ synctex/synctex_parser_utils.c
|
||||
@@ -583,6 +583,6 @@ int _synctex_get_name(const char * outpu
|
||||
@@ -585,6 +585,6 @@ int _synctex_get_name(const char * outpu
|
||||
|
||||
const char * _synctex_get_io_mode_name(synctex_io_mode_t io_mode) {
|
||||
static const char * synctex_io_modes[4] = {"r","rb","a","ab"};
|
||||
|
|
|
@ -6,7 +6,7 @@ Index: synctex/synctex_parser_utils.c
|
|||
===================================================================
|
||||
--- synctex.orig/synctex_parser_utils.c
|
||||
+++ synctex/synctex_parser_utils.c
|
||||
@@ -406,7 +406,7 @@ char * _synctex_merge_strings(const char
|
||||
@@ -408,7 +408,7 @@ char * _synctex_merge_strings(const char
|
||||
|
||||
/* The purpose of _synctex_get_name is to find the name of the synctex file.
|
||||
* There is a list of possible filenames from which we return the most recent one and try to remove all the others.
|
||||
|
|
|
@ -315,7 +315,7 @@ Index: synctex/synctex_parser_utils.c
|
|||
===================================================================
|
||||
--- synctex.orig/synctex_parser_utils.c
|
||||
+++ synctex/synctex_parser_utils.c
|
||||
@@ -126,7 +126,7 @@ int _synctex_log(int level, const char *
|
||||
@@ -128,7 +128,7 @@ int _synctex_log(int level, const char *
|
||||
OutputDebugStringA("\n");
|
||||
free(buff);
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ Index: synctex/synctex_parser.c
|
|||
@@ -5883,6 +5885,15 @@ synctex_scanner_p synctex_scanner_parse(
|
||||
scanner->x_offset = scanner->y_offset = 6.027e23f;
|
||||
scanner->reader->line_number = 1;
|
||||
|
||||
|
||||
+ /* TODO: cleanup
|
||||
+ * In some (all?) cases SYNCTEX_START is already initialized
|
||||
+ * in synctex_reader_init_with_output_file(). Much of the
|
||||
|
|
|
@ -5884,7 +5884,7 @@ synctex_scanner_p synctex_scanner_parse(synctex_scanner_p scanner) {
|
|||
* If there is a post scriptum section, this value will be overriden by the real life value */
|
||||
scanner->x_offset = scanner->y_offset = 6.027e23f;
|
||||
scanner->reader->line_number = 1;
|
||||
|
||||
|
||||
/* TODO: cleanup
|
||||
* In some (all?) cases SYNCTEX_START is already initialized
|
||||
* in synctex_reader_init_with_output_file(). Much of the
|
||||
|
|
Loading…
Reference in a new issue