From 75431f774c0c44a0896d81c69ba6b2f5927ba44d Mon Sep 17 00:00:00 2001 From: ehouse Date: Thu, 25 May 2006 04:07:49 +0000 Subject: [PATCH] strcat becomes strcpy: trivial optimization --- wince/cedraw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wince/cedraw.c b/wince/cedraw.c index 27c3b17a6..bac503dd8 100755 --- a/wince/cedraw.c +++ b/wince/cedraw.c @@ -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 );