Skip to content

Commit 3338ac6

Browse files
author
jef
committed
fix #2002
git-svn-id: http://svn.osgeo.org/qgis/trunk@11799 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cd1a432 commit 3338ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/grass/qgsgrassmodule.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1172,9 +1172,9 @@ void QgsGrassModule::run()
11721172

11731173
// Quote options with special characters so that user
11741174
// can copy-paste-run the command
1175-
if (( *it ).contains( QRegExp( "[ <>\\$|;&]" ) ) )
1175+
if ( it->contains( QRegExp( "[ <>\\$|;&]" ) ) )
11761176
{
1177-
argumentsHtml.append( "'" + *it + "'" );
1177+
argumentsHtml.append( "\"" + *it + "\"" );
11781178
}
11791179
else
11801180
{

0 commit comments

Comments
 (0)