diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/visited.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/visited.c b/src/visited.c index 6fcc23f7..f4769e97 100644 --- a/src/visited.c +++ b/src/visited.c | |||
@@ -74,7 +74,7 @@ void deinit_Visited(iVisited *d) { | |||
74 | 74 | ||
75 | void save_Visited(const iVisited *d, const char *dirPath) { | 75 | void save_Visited(const iVisited *d, const char *dirPath) { |
76 | iString *line = new_String(); | 76 | iString *line = new_String(); |
77 | iFile *f = newCStr_File(concatPath_CStr(dirPath, "visited2.txt")); | 77 | iFile *f = newCStr_File(concatPath_CStr(dirPath, "visited.2.txt")); |
78 | if (open_File(f, writeOnly_FileMode | text_FileMode)) { | 78 | if (open_File(f, writeOnly_FileMode | text_FileMode)) { |
79 | lock_Mutex(d->mtx); | 79 | lock_Mutex(d->mtx); |
80 | iConstForEach(Array, i, &d->visited.values) { | 80 | iConstForEach(Array, i, &d->visited.values) { |
@@ -93,7 +93,7 @@ void save_Visited(const iVisited *d, const char *dirPath) { | |||
93 | } | 93 | } |
94 | 94 | ||
95 | void load_Visited(iVisited *d, const char *dirPath) { | 95 | void load_Visited(iVisited *d, const char *dirPath) { |
96 | iFile *f = newCStr_File(concatPath_CStr(dirPath, "visited2.txt")); | 96 | iFile *f = newCStr_File(concatPath_CStr(dirPath, "visited.2.txt")); |
97 | if (open_File(f, readOnly_FileMode | text_FileMode)) { | 97 | if (open_File(f, readOnly_FileMode | text_FileMode)) { |
98 | lock_Mutex(d->mtx); | 98 | lock_Mutex(d->mtx); |
99 | const iRangecc src = range_Block(collect_Block(readAll_File(f))); | 99 | const iRangecc src = range_Block(collect_Block(readAll_File(f))); |