Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 965481c14b5958d5772acfcd65cf482b > files > 1

ascii-design-1.1.1-3.mga7.src.rpm

--- ascii-design-1.0.3.orig/src/dialogoptionsimpl.cpp	2014-05-30 00:02:54.000000000 +0200
+++ ascii-design-1.0.3/src/dialogoptionsimpl.cpp	2014-05-31 10:59:27.676787835 +0200
@@ -40,6 +40,11 @@
     // Check if figlet exists:
     QString figletFile = autoDetect();
     lineFigletPath->setText(figletFile);
+    // Point to the system figlet fonts folder
+    QString nullpath = NULL;
+    QString installed_path = "/usr/share/figlet";
+    if (opt->fontsPath() == nullpath)
+        lineFigletFontsPath->setText(installed_path);
 }
 
 void dialogOptionsImpl::openFiglet()