Skip to content

Instantly share code, notes, and snippets.

@Santarh
Created March 7, 2012 07:43
Show Gist options
  • Save Santarh/1991667 to your computer and use it in GitHub Desktop.
Save Santarh/1991667 to your computer and use it in GitHub Desktop.
meshio::pmd
*** ./new_pmd.cpp 2011-12-16 00:32:02.000000000 +0900
--- ./pmd.cpp 2012-03-07 16:28:07.000000000 +0900
***************
*** 411,417 ****
for(int i=0; i<10; ++i){
char toon[100];
sprintf(toon, "toon%02d.bmp", i+1);
! toon_textures[i]=toon;
}
}
--- 411,417 ----
for(int i=0; i<10; ++i){
char toon[100];
sprintf(toon, "toon%02d.bmp", i+1);
! toon_textures[i] = fixed_string<100>( std::string(toon) );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment