From c54bc72b904ca4d36b7d155ae5e39503b31526f4 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Wed, 9 Dec 2015 00:41:08 +0100 Subject: [PATCH] Enhance debug info display message --- PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp b/PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp index 5f52f2a95..a04aebea3 100644 --- a/PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp +++ b/PowerEditor/src/WinControls/AboutDlg/AboutDlg.cpp @@ -159,7 +159,7 @@ INT_PTR CALLBACK DebugInfoDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM / // Plugins _debugInfoStr += TEXT("Plugins : "); - _debugInfoStr += _loadedPlugins; + _debugInfoStr += _loadedPlugins.length() == 0 ? TEXT("none") : _loadedPlugins; _debugInfoStr += TEXT("\r\n"); ::SetDlgItemText(_hSelf, IDC_DEBUGINFO_EDIT, _debugInfoStr.c_str());