Fix opening manual from staging directory

Change-Id: I6ac18a0379c4366c12dfb7dc00970e68451563a1
Reviewed-on: https://code.wireshark.org/review/34605
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
This commit is contained in:
João Valverde 2019-09-24 10:53:42 +01:00 committed by Jaap Keuter
parent b1416fda0a
commit 96feb2a525
1 changed files with 0 additions and 2 deletions

View File

@ -2269,8 +2269,6 @@ data_file_url(const gchar *filename)
/* Absolute path? */
if(g_path_is_absolute(filename)) {
file_path = g_strdup(filename);
} else if(running_in_build_directory()) {
file_path = g_strdup_printf("%s/doc/%s", get_datafile_dir(), filename);
} else {
file_path = g_strdup_printf("%s/%s", get_datafile_dir(), filename);
}