More debug output

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2016-04-29 18:15:49 +02:00
parent 19429574f4
commit 25b276246b

View File

@ -105,6 +105,7 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
if (girara_list_size(res) == 1) {
char* path = girara_list_nth(res, 0);
if (g_file_test(path, G_FILE_TEST_IS_DIR) == true) {
girara_debug("changing to directory %s", path);
char* newpath = g_strdup_printf("%s/", path);
girara_list_clear(res);
girara_list_append(res, newpath);