reactos/base/applications/mspaint
Timo Kreuzer cdca4e9036 [MSPAINT] Don't use SIZEOF on a pointer
Fixes GCC 8 warning:
base/applications/mspaint/definitions.h:16:31: error: division 'sizeof (LPWSTR {aka wchar_t*}) / sizeof (WCHAR {aka wchar_t})' does not compute the number of array elements [-Werror=sizeof-pointer-div]
 #define SIZEOF(a)  (sizeof(a) / sizeof((a)[0]))
                     ~~~~~~~~~~^~~~~~~~~~~~~~~~
base/applications/mspaint/main.cpp:134:55: note: in expansion of macro 'SIZEOF'
                 lstrcpyn(pon->lpOFN->lpstrFile, Path, SIZEOF(pon->lpOFN->lpstrFile));
                                                       ^~~~~~
2019-07-20 13:56:18 +02:00
..
help
icons
lang [MSPAINT] Add Indonesian translation. (#1598) 2019-06-04 15:52:04 +02:00
CMakeLists.txt [ATL] Retire atlnew 2019-04-18 19:21:37 +02:00
common.h
definitions.h
dialogs.cpp
dialogs.h
dib.cpp
dib.h
drawing.cpp
drawing.h
fullscreen.cpp
fullscreen.h
globalvar.h
history.cpp
history.h
imgarea.cpp
imgarea.h
main.cpp [MSPAINT] Don't use SIZEOF on a pointer 2019-07-20 13:56:18 +02:00
miniature.cpp
miniature.h
mouse.cpp
mouse.h
mspaint.exe.amd64.manifest
mspaint.exe.manifest
palette.cpp
palette.h
palettemodel.cpp
palettemodel.h
precomp.h
registry.cpp [REACTOS] Replace remnant legacy SPIF_SENDWININICHANGE by SPIF_SENDCHANGE (#1526) 2019-04-28 21:19:42 +02:00
registry.h
rsrc.rc [MSPAINT] Add Indonesian translation. (#1598) 2019-06-04 15:52:04 +02:00
scrollbox.cpp
scrollbox.h
selection.cpp
selection.h
selectionmodel.cpp
selectionmodel.h
sizebox.cpp
sizebox.h
textedit.cpp
textedit.h
toolbox.cpp
toolbox.h
toolsettings.cpp
toolsettings.h
toolsmodel.cpp
toolsmodel.h
winproc.cpp
winproc.h