--- a/src/qtgui/ssearch_w.cpp
+++ b/src/qtgui/ssearch_w.cpp
@@ -135,9 +135,9 @@
if (tp == SST_LANG) {
string reason;
if (prefs.autoSuffsEnable)
- sdata = wasaStringToRcl(u8, reason, (const char *)prefs.autoSuffs.toUtf8());
+ sdata = wasaStringToRcl(rclconfig, u8, reason, (const char *)prefs.autoSuffs.toUtf8());
else
- sdata = wasaStringToRcl(u8, reason);
+ sdata = wasaStringToRcl(rclconfig, u8, reason);
if (sdata == 0) {
QMessageBox::warning(0, "Recoll", tr("Bad query string") +
QString::fromAscii(reason.c_str()));