strcat becomes strcpy: trivial optimization

This commit is contained in:
ehouse 2006-05-25 04:07:49 +00:00
parent 3ca36f57fc
commit 75431f774c

View file

@ -641,8 +641,7 @@ ceWidthAndText( CEDrawCtx* dctx, HDC hdc, const DrawScoreInfo* dsi,
bullet[0] = '\0';
}
buf[0] = '\0';
strcat( buf, bullet );
strcpy( buf, bullet );
sprintf( tmp, "%d", dsi->score );
strcat( buf, tmp );