Ticket #28070: patch-src-iop-lens.c.diff
File patch-src-iop-lens.c.diff, 583 bytes (added by julians37@…, 14 years ago) |
---|
-
src/iop/lens.c
diff -ru ../orig/darktable-0.7.1/src/iop/lens.c ./src/iop/lens.c
old new 373 374 char *c = path + strlen(path); 374 375 for(;c>path && *c != '/';c--); 375 376 sprintf(c, "/lensfun"); 376 dt_iop_lensfun_db->HomeDataDir = path;377 dt_iop_lensfun_db->HomeDataDir = g_build_filename(path, NULL); 377 378 if(lf_db_load(dt_iop_lensfun_db) != LF_NO_ERROR) 378 379 { 379 380 fprintf(stderr, "[iop_lens]: could not load lensfun database in `%s'!\n", path);