diff --git a/src/osgPlugins/osg/Shader.cpp b/src/osgPlugins/osg/Shader.cpp index 23a657c61..adf7b95d5 100644 --- a/src/osgPlugins/osg/Shader.cpp +++ b/src/osgPlugins/osg/Shader.cpp @@ -85,7 +85,7 @@ bool Shader_writeLocalData(const Object& obj,Output& fw) std::vector::const_iterator j; for (j=lines.begin(); j!=lines.end(); ++j) { - fw.indent() << "\"" << *j << "\"\n"; + fw.indent() << fw.wrapString(*j) << "\n"; } fw.moveOut();