But I noticed something else: When you talk to the guy in the Tradehouse about the Fargoth quest, you can start the quest multiple times. I am not sure if that is correct. Shouldn't this topic be removed at this point. Actually I don't see any calls to the isMatching function after the dialogue is started. That does not look right.
My bad. I thought that the function filters were the only one who could change during dialogue but I was wrong. Journal can change too for example. I will correct it.
Edit: and i still get the crash. I'm recompiling everything in debug mode.
Looks like another case folding problem. When the journal index is set, the case is folded. In all other cases, it is not. I guess you should fold all journal IDs before calling any journal.hpp functions.
Edit: Actually you should smash case. No case folding involved here.