]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/brushexport/export.cpp
CRLF fixes, .gitattributes file updated
[xonotic/netradiant.git] / contrib / brushexport / export.cpp
index a0964fbb2444021e6dc0f2d9aeccecf257925193..a83f7ebcbaf521efb22162c0bb9148f6192a5a42 100644 (file)
@@ -149,7 +149,7 @@ void ExportData::GetShaderNameFromShaderPath(const char* path, std::string& name
                name = tmp.substr(last_slash + 1, tmp.length() - last_slash);
 
 #ifdef _DEBUG
-       globalOutputStream() << "Last: " << last_slash << " " << "length: " << (const unsigned int)tmp.length() << "Name: " << name.c_str() << "\n";
+       globalOutputStream() << "Last: " << (const unsigned int) last_slash << " " << "length: " << (const unsigned int)tmp.length() << "Name: " << name.c_str() << "\n";
 #endif
 }
 
@@ -304,7 +304,7 @@ bool ExportDataAsWavefront::WriteToFile(const std::string& path, collapsemode mo
                        return false;
                }
 
-               outMtl << "# Wavefront material file exported with GtkRadiants brushexport plugin.\n";
+               outMtl << "# Wavefront material file exported with NetRadiants brushexport plugin.\n";
                outMtl << "# Material Count: " << (const Unsigned)materials.size() << "\n\n";
                for(std::set<std::string>::const_iterator it(materials.begin()); it != materials.end(); ++it)
                {