Fix memory overwrite

svn-id: r32543
This commit is contained in:
Eugene Sandulenko 2008-06-04 18:27:58 +00:00
parent b0eb20b4b8
commit 4ee6f4d01a

View File

@ -904,7 +904,7 @@ void DrasculaEngine::talk_sync(const char *said, const char *filename, const cha
int y_mask_talk = 170; int y_mask_talk = 170;
int p, face = 0; int p, face = 0;
int length = strlen(said); int length = strlen(said);
char buf[1]; char buf[2];
color_abc(kColorYellow); color_abc(kColorYellow);