OSDN Git Service

fixed by @santarh master
authorousttrue <ousttrue@gmail.com>
Wed, 7 Mar 2012 14:53:44 +0000 (23:53 +0900)
committerousttrue <ousttrue@gmail.com>
Wed, 7 Mar 2012 14:53:44 +0000 (23:53 +0900)
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));;
       }
     }