Skip to content

Commit

Permalink
Speculative fix for ticket #249
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5749 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 2, 2006
1 parent 15536ec commit 7c7acf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgssearchstringparser.yy
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ QgsSearchTreeNode* parseSearchString(const QString& str, QString& parserErrorMsg
// list should be empty when starting
Q_ASSERT(gTmpNodes.count() == 0);

set_input_buffer((const char*)str);
set_input_buffer(str.toUtf8().constData());
int res = yyparse();

// list should be empty when parsing was OK
Expand Down

0 comments on commit 7c7acf5

Please sign in to comment.