Skip to content

Commit de71da8

Browse files
author
g_j_m
committed
Speculative fix for ticket #249
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5749 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent de50cd3 commit de71da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgssearchstringparser.yy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ QgsSearchTreeNode* parseSearchString(const QString& str, QString& parserErrorMsg
156156
// list should be empty when starting
157157
Q_ASSERT(gTmpNodes.count() == 0);
158158

159-
set_input_buffer((const char*)str);
159+
set_input_buffer(str.toUtf8().constData());
160160
int res = yyparse();
161161

162162
// list should be empty when parsing was OK

0 commit comments

Comments
 (0)