mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 11:26:01 +01:00
fix cc_open
This commit is contained in:
parent
cba92029fa
commit
a5db68c706
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
|
||||||
if ((current_file_length > e_length) || strncmp(current_file, e_name,
|
if ((current_file_length > e_length) || strncmp(current_file, e_name,
|
||||||
current_file_length)) {
|
current_file_length)) {
|
||||||
g_free(e_name);
|
g_free(e_name);
|
||||||
goto error_free;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
char* full_path = g_strdup_printf("%s%s%s", current_path, is_dir ? "" : "/", e_name);
|
char* full_path = g_strdup_printf("%s%s%s", current_path, is_dir ? "" : "/", e_name);
|
||||||
|
|
Loading…
Reference in a new issue