OSDN Git Service

fixed by @santarh
[meshio/meshio.git] / src / pmd.cpp
index e04b0d6..6df70d5 100644 (file)
@@ -411,7 +411,7 @@ namespace meshio {
       for(int i=0; i<10; ++i){
         char toon[100];
         sprintf(toon, "toon%02d.bmp", i+1);
-        toon_textures[i]=toon;
+        toon_textures[i]=fixed_string<100>(std::string(toon));;
       }
     }