Skip to content

Commit

Permalink
fix compiler warning, be more legible
Browse files Browse the repository at this point in the history
  • Loading branch information
TTimo committed Feb 25, 2017
1 parent a128430 commit fd3ec15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/picomodel/pm_fm.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ static picoModel_t *_fm_load( PM_PARAMS_LOAD ){
texCoord->t = _pico_little_short( texCoord[i].t );
}
// set Skin Name
strncpy( skinname, (unsigned char *) fm.fm_skin, FM_SKINPATHSIZE );
strncpy( skinname, fm.fm_skin->path, FM_SKINPATHSIZE );

#ifdef FM_VERBOSE_DBG
// Print out md2 values
Expand Down

0 comments on commit fd3ec15

Please sign in to comment.