OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync Dialog Scroll the correct line number
[tortoisegit/TortoiseGitJp.git]
/
src
/
TortoiseProc
/
RevertDlg.cpp
diff --git
a/src/TortoiseProc/RevertDlg.cpp
b/src/TortoiseProc/RevertDlg.cpp
index
7a222fa
..
aabb408
100644
(file)
--- a/
src/TortoiseProc/RevertDlg.cpp
+++ b/
src/TortoiseProc/RevertDlg.cpp
@@
-23,6
+23,7
@@
#include "Git.h"
\r
#include "Registry.h"
\r
#include ".\revertdlg.h"
\r
#include "Git.h"
\r
#include "Registry.h"
\r
#include ".\revertdlg.h"
\r
+#include "CommonResource.h"
\r
\r
#define REFRESHTIMER 100
\r
\r
\r
#define REFRESHTIMER 100
\r
\r
@@
-107,7
+108,9
@@
UINT CRevertDlg::RevertThread()
DialogEnableWindow(IDOK, false);
\r
m_bCancelled = false;
\r
\r
DialogEnableWindow(IDOK, false);
\r
m_bCancelled = false;
\r
\r
- if (!m_RevertList.GetStatus(m_pathList))
\r
+ m_RevertList.Clear();
\r
+
\r
+ if (!m_RevertList.GetStatus(&m_pathList))
\r
{
\r
m_RevertList.SetEmptyString(m_RevertList.GetLastErrorMessage());
\r
}
\r
{
\r
m_RevertList.SetEmptyString(m_RevertList.GetLastErrorMessage());
\r
}
\r