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:
parent
b1416fda0a
commit
96feb2a525
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue