Since GDI+ does not return the color depth correctly in many situations, try getting the information with WIC (Windows Imaging Component).

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24614 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Replace ARRAYSIZE with the _countof macro.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24657 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Replace memset with ZeroMemory.

Also, fix a couple of cases where the number of elements was used instead of the number of bytes.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24658 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Fix line endings.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24672 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Clear the styling for correct words without the space at the end of the word, just in case there isn't another char at the end.
(Fixes issue #549) : spell checker misses last char in a word


git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24725 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Reduce scope of local variables
Do not reassign local variables before use
Compare values properly of type BOOL and bool

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24740 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Run tabspace.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24745 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Use the correct buffer length when converting the string.
(Fixes issue #565) : spurious NUL chars shown in blame


git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24776 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Treat the '-' char as a word char, but split the word anyway and do the autocompletion on all tokens.
(Fixes issue #568) : missing autocompletion for filenames with '-'


git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24790 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac