strcat becomes strcpy: trivial optimization

This commit is contained in:
ehouse 2006-05-25 04:07:49 +00:00
parent be930f344c
commit 04e9dfb76a

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 );