[QGIS Commit] r11799 - trunk/qgis/src/plugins/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Oct 12 12:57:47 EDT 2009


Author: jef
Date: 2009-10-12 12:57:46 -0400 (Mon, 12 Oct 2009)
New Revision: 11799

Modified:
   trunk/qgis/src/plugins/grass/qgsgrassmodule.cpp
Log:
fix #2002

Modified: trunk/qgis/src/plugins/grass/qgsgrassmodule.cpp
===================================================================
--- trunk/qgis/src/plugins/grass/qgsgrassmodule.cpp	2009-10-12 15:36:52 UTC (rev 11798)
+++ trunk/qgis/src/plugins/grass/qgsgrassmodule.cpp	2009-10-12 16:57:46 UTC (rev 11799)
@@ -1172,9 +1172,9 @@
 
       // Quote options with special characters so that user
       // can copy-paste-run the command
-      if (( *it ).contains( QRegExp( "[ <>\\$|;&]" ) ) )
+      if ( it->contains( QRegExp( "[ <>\\$|;&]" ) ) )
       {
-        argumentsHtml.append( "'" + *it + "'" );
+        argumentsHtml.append( "\"" + *it + "\"" );
       }
       else
       {



More information about the QGIS-commit mailing list