| 96 | } |
| 97 | |
| 98 | void CSetPgFeatures::UpdateLogLocation() const |
| 99 | { |
| 100 | // Cut log file to directory only |
| 101 | const auto pLogger = gpConEmu->GetLogger(); |
| 102 | CEStr lsLogPath(pLogger ? pLogger->GetLogFileName() : L""); |
| 103 | LPCWSTR pszName = lsLogPath.IsEmpty() ? nullptr : PointToName(lsLogPath.ms_Val); |
| 104 | if (pszName) |
| 105 | *(wchar_t*)pszName = 0; |
| 106 | SetDlgItemText(gpSetCls->GetPage(thi_Features), tDebugLogDir, lsLogPath); |
| 107 | } |
| 108 | |
| 109 | LRESULT CSetPgFeatures::OnEditChanged(HWND hDlg, WORD nCtrlId) |
| 110 | { |
no test coverage detected