mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:02:02 +00:00
[NOTEPAD] Use _countof macro from <stdlib.h> (#5170)
- Remove the definition of ARRAY_SIZE macro. - Replace ARRAY_SIZE and ARRAYSIZE with _countof. CORE-18837
This commit is contained in:
parent
49d8c1af21
commit
d28e39e409
5 changed files with 64 additions and 66 deletions
|
@ -33,8 +33,6 @@
|
|||
#include "dialog.h"
|
||||
#include "notepad_res.h"
|
||||
|
||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
||||
|
||||
#define EDIT_STYLE_WRAP (WS_CHILD | WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL)
|
||||
#define EDIT_STYLE (EDIT_STYLE_WRAP | WS_HSCROLL | ES_AUTOHSCROLL)
|
||||
#define EDIT_CLASS _T("EDIT")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue