Fix for a compilation issue with MinGW32. The problem was reported

by Dazzle through the BA Freestyle thread, thanks!
This commit is contained in:
2010-11-28 02:48:37 +00:00
parent a04603d2a0
commit 7f2829d30e

View File

@@ -472,7 +472,7 @@ void rna_Main_particles_remove(Main *bmain, ReportList *reports, ParticleSetting
/* XXX python now has invalid pointer? */
}
FreestyleLineStyle *rna_Main_linestyles_new(Main *bmain, char* name)
FreestyleLineStyle *rna_Main_linestyles_new(Main *bmain, const char* name)
{
FreestyleLineStyle *linestyle = FRS_new_linestyle(name, bmain);
linestyle->id.us--;