[Therion] make samples qmarks is broken

Martin Budaj m.budaj at gmail.com
Sat May 2 20:28:26 CEST 2009


On Sat, May 2, 2009 at 3:50 AM, Wookey <wookey at wookware.org> wrote:
> After some faffing I found that every attempt to run
> <path/to/current/build> thconfig in the samples directores produces a
> segfault as soon as therion tried to write out a file.

There is a quick fix for the bug:

--- thlayout5.2.8.cxx	2009-04-23 11:05:06.000000000 +0200
+++ thlayout.cxx	2009-05-02 20:19:31.000000000 +0200
@@ -2039,7 +2039,7 @@
   LAYOUT.preview_below_b = this->color_preview_below.B;

   LAYOUT.lang = this->lang;
-  LAYOUT.langstr = thlang_getid(this->lang);
+  LAYOUT.langstr = (this->lang == -1 ? "en" : thlang_getid(this->lang));
 }


For Windows users (who don't want to compile from sources) there is a
workaround: just define any language in the layout.

Martin



More information about the Therion mailing list