ports/audio/denemo/files/patch-src__file.c
Martin Wilke e1b6fc8a47 - Update to 1.0.0
PR:		177923
Submitted by:	Ports Fury
2013-05-13 02:13:10 +00:00

11 lines
518 B
C

--- src/file.c.orig
+++ src/file.c
@@ -556,7 +556,7 @@
default_template_path = local_template_path;
} else if(local==EXAMPLE){
if(system_example_path==NULL) {
- system_example_path = g_build_filename (get_data_dir (), "examples", NULL);
+ system_example_path = g_build_filename (get_data_dir (), "..", "examples", "denemo", NULL);
GDir *denemo_path = g_dir_open(system_example_path, 0, NULL);
if(denemo_path == NULL) {
warningdialog ("No examples directory in installation");