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:
unknown 2015-04-20 14:57:55 -04:00
parent 9fcf4def63
commit dbe9da858a
1 changed files with 1 additions and 2 deletions

View File

@ -172,8 +172,7 @@ DWORD CALLBACK AboutIniBoxProc (HWND hDlg, DWORD uMsg, DWORD wParam, DWORD /*lPa
switch (uMsg) { switch (uMsg) {
case WM_INITDIALOG: case WM_INITDIALOG:
{ {
static const DWORD STRING_SIZE = 200; wchar_t String[200];
wchar_t String[STRING_SIZE];
//Title //Title
LONG_PTR originalWndProc = GetWindowLongPtrW(hDlg, GWLP_WNDPROC); LONG_PTR originalWndProc = GetWindowLongPtrW(hDlg, GWLP_WNDPROC);