From 20f26ee0117172c75822f034a329cd802aa0ac5e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 16 Apr 2005 10:18:56 +0000 Subject: [PATCH] Fixed wrapping of text string to allow internal "" strings --- src/osgPlugins/osg/Shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();