comctl32: Avoid hardcoding array lengths.

This commit is contained in:
Frédéric Delanoy 2011-11-17 20:30:37 +01:00 committed by Alexandre Julliard
parent 11c2150dd9
commit eae3c2ae27
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ IPADDRESS_SubclassProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
static void IPADDRESS_UpdateText (const IPADDRESS_INFO *infoPtr)
{
static const WCHAR zero[2] = {'0', 0};
static const WCHAR dot[2] = {'.', 0};
static const WCHAR zero[] = {'0', 0};
static const WCHAR dot[] = {'.', 0};
WCHAR field[4];
WCHAR ip[16];
INT i;