OSDN Git Service

Fix Bug #1874854
authorJochen Tucht <jtuc@users.sourceforge.net>
Sun, 20 Jan 2008 08:48:53 +0000 (08:48 +0000)
committerJochen Tucht <jtuc@users.sourceforge.net>
Sun, 20 Jan 2008 08:48:53 +0000 (08:48 +0000)
Src/Common/MessageBoxDialog.cpp

index 0ed10a1..d752fab 100644 (file)
@@ -1238,7 +1238,7 @@ void CMessageBoxDialog::CreateMessageControl ( )
 
        // Draw the text and retrieve the size of the text.
        dcDisplay.DrawText(m_strMessage.c_str(), rcMessage, DT_LEFT | DT_NOPREFIX | 
-               DT_WORDBREAK | DT_CALCRECT);
+               DT_WORDBREAK | DT_EXPANDTABS | DT_CALCRECT);
 
        // Save the size required for the message.
        m_sMessage = rcMessage.Size();