aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/file-utils.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-01 03:08:34 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-01 03:31:19 +0300
commit5b54cd8f79fc877c0447f42bffcac40ec1f30beb (patch)
treefae00d9da734edc8eb5da41171f84280d658cbf6 /src/file-utils.c
parent903a87d4842479fb3ea5f1eef9f0a88abe775a78 (diff)
downloadsciteco-5b54cd8f79fc877c0447f42bffcac40ec1f30beb.tar.gz
fixed clicking the file completion popup in ~/
* Popup entries are added with expanded directory names, so we have to skip the expanded directory names from the clicked popup entries.
Diffstat (limited to 'src/file-utils.c')
-rw-r--r--src/file-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-utils.c b/src/file-utils.c
index 02816b4..75bcb48 100644
--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -483,7 +483,7 @@ teco_file_auto_complete(const gchar *filename, GFileTest file_test, teco_string_
strlen((gchar *)file->data), is_buffer);
}
- teco_interface_popup_show(filename ? strlen(filename) : 0);
+ teco_interface_popup_show(filename_len);
}
/*