Fix problems that occurred when multiple threads were trying to read/convert files at the same time (ie: indexing and previewing threads in the GUI calling internfile()). Either get rid of or lock-protect all shared data, eliminate misc initialization possible conflicts by using static initializers. Hopefuly closes issue #51
This commit is contained in:
@@ -372,7 +372,7 @@ string ResListPager::detailsLink()
|
||||
|
||||
const string &ResListPager::parFormat()
|
||||
{
|
||||
const static string format("<img src=\"%I\" align=\"left\">"
|
||||
static const string format("<img src=\"%I\" align=\"left\">"
|
||||
"%R %S %L <b>%T</b><br>"
|
||||
"%M %D <i>%U</i><br>"
|
||||
"%A %K");
|
||||
|
||||
Reference in New Issue
Block a user