Katayama Hirofumi MZ
9879776950
[MSPAINT] Use correct type for custColors
2019-12-24 04:11:33 +09:00
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
Katayama Hirofumi MZ
f2512254e0
[MSPAINT] Set default extension .bmp ( #1515 )
...
Set the default extension of mspaint to .bmp. CORE-7114
2019-04-23 14:25:18 +09:00
Katayama Hirofumi MZ
22e86add33
[MSPAINT] Fix interpretation of command line ( #707 )
2018-08-12 11:23:16 +02:00
Benedikt Freisen
313ded449c
[MSPAINT] use __targv[1] instead of lpszArgument
...
This should make Paint's handling of command line strings less brittle.
CORE-13293
2018-05-31 20:17:30 +02:00
Benedikt Freisen
0ef056230e
[MSPAINT] Base dialog implementations on CDialogImpl
...
- Wrap implementation of Mirror/Rotate, Stretch/Skew and Attributes dialog in subclasses of CDialogImpl
- Turn global variables from code that was moved into member functions into member variables
- Add global instances of all three dialog classes
- Use <global instance>.DoModal(...) instead of one-line wrappers
- Replace some TCHAR arrays with CStrings
2017-11-02 21:29:40 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00