Blame 3Depict-0.0.12-manual-pdf-loc.patch
|
D Haley |
c4c4131 |
diff -r 634db475333f src/3Depict.cpp
|
|
D Haley |
c4c4131 |
--- src/3Depict.cpp Sun Oct 23 17:43:37 2011 +0100
|
|
D Haley |
c4c4131 |
+++ src/3Depict.cpp Sun Oct 23 17:44:33 2011 +0100
|
|
D Haley |
c4c4131 |
@@ -2142,9 +2142,9 @@
|
|
D Haley |
c4c4131 |
string s;
|
|
D Haley |
c4c4131 |
s=locateDataFile("3Depict-manual.pdf");
|
|
D Haley |
c4c4131 |
|
|
D Haley |
c4c4131 |
- //Also Debian makes us use the lowercase "D", so check there too.
|
|
D Haley |
c4c4131 |
- if(!s.size())
|
|
D Haley |
c4c4131 |
- s=locateDataFile("3depict-manual.pdf");
|
|
D Haley |
c4c4131 |
+ //Also Fedora has diff dir
|
|
D Haley |
c4c4131 |
+ if(!wxFileExists(wxStr(s)))
|
|
D Haley |
c4c4131 |
+ s="/usr/share/doc/3Depict-0.0.8/3Depict-0.0.8-manual.pdf";
|
|
D Haley |
c4c4131 |
|
|
D Haley |
c4c4131 |
|
|
D Haley |
c4c4131 |
//If we found it, use the default program associated with that data file
|