no longer multiple references to recently added `STRING_SIZE` constant
It seems that zilmar would rather use the sizeof() operator repeatedly than to declare a new constant or use macros to show array sizes. Since I have already centralized the usage of all sizeof() operators to the new high-level function I declared, I think that there is no longer use for the `STRING_SIZE` constant which Lioncash contributed.
This commit is contained in:
parent
9fcf4def63
commit
dbe9da858a
|
@ -172,8 +172,7 @@ DWORD CALLBACK AboutIniBoxProc (HWND hDlg, DWORD uMsg, DWORD wParam, DWORD /*lPa
|
|||
switch (uMsg) {
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
static const DWORD STRING_SIZE = 200;
|
||||
wchar_t String[STRING_SIZE];
|
||||
wchar_t String[200];
|
||||
|
||||
//Title
|
||||
LONG_PTR originalWndProc = GetWindowLongPtrW(hDlg, GWLP_WNDPROC);
|
||||
|
|
Loading…
Reference in New Issue