summaryrefslogtreecommitdiff
path: root/plugins/DbChecker/src/progress.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-26 20:17:40 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-26 20:17:40 +0300
commit7827d06f9cd6d8e0dffa2c500e32c1ff0737dbfa (patch)
treedc981b584d76427c7fcfae58bee35392d9a4a9af /plugins/DbChecker/src/progress.cpp
parent7a135968ad505c9ac82d56e27773a33ea77ccfdc (diff)
fixes #4077 (Сообщения в формате RTF показываются как исходники)
Diffstat (limited to 'plugins/DbChecker/src/progress.cpp')
-rw-r--r--plugins/DbChecker/src/progress.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/DbChecker/src/progress.cpp b/plugins/DbChecker/src/progress.cpp
index b3458cadc9..237b43092c 100644
--- a/plugins/DbChecker/src/progress.cpp
+++ b/plugins/DbChecker/src/progress.cpp
@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
void __cdecl WorkerThread(DbToolOptions *opts);
static HWND hwndStatus, hdlgProgress, hwndBar;
+HWND hwndRichEdit;
int errorCount;
extern HFONT hBoldFont;
@@ -75,6 +76,7 @@ bool CProgressPageDlg::OnInitDialog()
EnableWindow(GetDlgItem(m_hwndParent, IDOK), FALSE);
hdlgProgress = m_hwnd;
hwndStatus = GetDlgItem(m_hwnd, IDC_STATUS);
+ hwndRichEdit = GetDlgItem(m_hwnd, IDC_MEMO);
errorCount = 0;
hwndBar = GetDlgItem(m_hwnd, IDC_PROGRESS);
SendMessage(hwndBar, PBM_SETRANGE, 0, MAKELPARAM(0, 1000));