The bugs thread is so large I thought I would post this here:
The following code turns the italics on even when inside of a code block.
for (int i=0;i<static_cast<int>(m_vVector.size());i++)
{
delete m_vVector[i];
}
//This is a test of italics.
Proof.
Hmm it didn't do it here. It did in one of my other threads.Code:for (int i=0;i<static_cast<int>(m_vVector.size());i++) { delete m_vVector[i]; } //This is a test of italics.
http://cboard.cprogramming.com/showthread.php?t=79776
Notice the line in the destructor for CMyTabCtrl. It should be
delete m_vWnds[i];
Instead it read it as 'italics on'.