summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-10 10:12:23 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-10 10:12:23 +0100
commitd671ea83612bcb683e675c041392922e66e57e58 (patch)
tree11ebb222ef8007a53ba175e0994958c2a23e42c7 /src/windows
parentb84007b0bc5fe286c96c675f5c2c210cccbc0490 (diff)
results are collapsable on per file
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/main_windows.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/windows/main_windows.cpp b/src/windows/main_windows.cpp
index c6db7a5..af64fc6 100644
--- a/src/windows/main_windows.cpp
+++ b/src/windows/main_windows.cpp
@@ -399,6 +399,7 @@ void ts_platform_list_files_block(ts_search_result* result, wchar_t* start_dir)
f->path = (utf8_int8_t*)ts_memory_bucket_reserve(&result->memory, MAX_INPUT_LENGTH);
f->match_count = 0;
f->error = 0;
+ f->collapsed = false;
WideCharToMultiByte(CP_UTF8,0,complete_file_path,-1,(LPSTR)f->path,MAX_INPUT_LENGTH, NULL, NULL);
ts_mutex_lock(&result->files.mutex);