OSDN Git Service

Trivial Bugfix: Debugger generates three warnings
authorGreyMerlin <greymerlin7@gmail.com>
Tue, 23 Oct 2018 00:31:14 +0000 (17:31 -0700)
committerGreyMerlin <greymerlin7@gmail.com>
Tue, 23 Oct 2018 00:33:13 +0000 (17:33 -0700)
commitf902fba76eae90525ca115730c0a46b818aa0a26
tree73116fc0859bac517bad6051a130492eb8831da3
parent58cc9dafaa87c130706ceb8f8d0c8b494548e785
Trivial Bugfix: Debugger generates three warnings

**Symptom:** Starting WinMerge with an active Debugger generates three identical
warning messages ...
    `... \dlgdata.cpp(254) : AppMsg - Warning: dialog data checkbox value (205) out of range.`

**Solution:** The `m_bReadOnly`array was not being initialized, thus all of the `bool` elements
had a value of `0xcd` = 205 when initially given to the three **Read-only** checkboxes on the
OpenView dialog.

The array is now properly initialized in the `COpenView::` constructor.

**Also:** An unrelated trivial comment is repaired.
Src/CompareEngines/ByteComparator.cpp
Src/OpenView.cpp