Commit a82814d5 authored by Oleg Korshul's avatar Oleg Korshul

count good changes detection error

parent bab37e16
...@@ -768,7 +768,7 @@ namespace NSDoctRenderer ...@@ -768,7 +768,7 @@ namespace NSDoctRenderer
_LOGGING_ERROR_(L"change", strException); _LOGGING_ERROR_(L"change", strException);
char buffer[50]; char buffer[50];
sprintf(buffer, "index=\"%d\"", pNative->m_nCurrentChangesNumber); sprintf(buffer, "index=\"%d\"", pNative->m_nCurrentChangesNumber - 1);
std::string s(buffer); std::string s(buffer);
strError = NSFile::CUtf8Converter::GetUnicodeStringFromUTF8((BYTE*)s.c_str(), (LONG)s.length()); strError = NSFile::CUtf8Converter::GetUnicodeStringFromUTF8((BYTE*)s.c_str(), (LONG)s.length());
bIsBreak = true; bIsBreak = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment