Commit eae3c2ae authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

comctl32: Avoid hardcoding array lengths.

parent 11c2150d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment