• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28325 (tree)
Time2018-07-31 04:14:53
Authorstefankueng

Log Message

Fix storing the splitter positions.

Change Summary

Incremental Difference

--- trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28324)
+++ trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28325)
@@ -633,9 +633,9 @@
633633
634634 void CLogDlg::RestoreLogDlgWindowAndSplitters()
635635 {
636- DWORD yPos1 = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1" + m_bMonitoringMode ? L"M" : L"");
637- DWORD yPos2 = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2" + m_bMonitoringMode ? L"M" : L"");
638- DWORD xPos = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3" + m_bMonitoringMode ? L"M" : L"");
636+ DWORD yPos1 = CRegDWORD(m_bMonitoringMode ? L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1M" : L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1");
637+ DWORD yPos2 = CRegDWORD(m_bMonitoringMode ? L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2M" : L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2");
638+ DWORD xPos = CRegDWORD(m_bMonitoringMode ? L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3M" : L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3");
639639 RECT rcDlg, rcLogList, rcChgMsg, rcProjTree;
640640 GetClientRect(&rcDlg);
641641 m_LogList.GetWindowRect(&rcLogList);
@@ -1339,9 +1339,9 @@
13391339 {
13401340 if (!IsIconic())
13411341 {
1342- CRegDWORD regPos1(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1" + m_bMonitoringMode ? L"M" : L"");
1343- CRegDWORD regPos2(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2" + m_bMonitoringMode ? L"M" : L"");
1344- CRegDWORD regPos3(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3" + m_bMonitoringMode ? L"M" : L"");
1342+ CRegDWORD regPos1(m_bMonitoringMode ? L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1M" : L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1");
1343+ CRegDWORD regPos2(m_bMonitoringMode ? L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2M" : L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2");
1344+ CRegDWORD regPos3(m_bMonitoringMode ? L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3M" : L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3");
13451345 RECT rectSplitter;
13461346 m_wndSplitter1.GetWindowRect(&rectSplitter);
13471347 ScreenToClient(&rectSplitter);
Show on old repository browser