Skip to content

Commit

Permalink
fix 4298
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Mar 11, 2015
1 parent 49ab160 commit 9d6eb0d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
w17 11.03.2015 15:50:45 +0300 - build 4302
drkns 11.03.2015 20:07:31 +0200 - build 4303

1. Уточнение 4298.

w17 11.03.2015 15:50:45 +0300 - build 4302

1. Устранение запроса повышения привилегий при посмотре файла на флэшке с NTFS под Win Server 2008 R2 SP1

Expand Down
7 changes: 0 additions & 7 deletions far/editor.cpp
Expand Up @@ -7115,13 +7115,6 @@ Editor::iterator Editor::InsertString(const wchar_t *lpwszStr, int nLength, iter
{
TopScreen = CurLine = NewLine;
}
else
{
if (Where == Lines.end())
{
WhereLineNumber = m_LinesCount-1;
}
}

m_LinesCount++;

Expand Down
4 changes: 2 additions & 2 deletions far/editor.hpp
Expand Up @@ -241,8 +241,8 @@ class Editor: public SimpleScreenObject
string VBlock2Text() { return VBlock2Text(nullptr, 0); }
void Change(EDITOR_CHANGETYPE Type,int StrNum);
DWORD EditSetCodePage(iterator edit, uintptr_t codepage, bool check_only);
iterator InsertString(const wchar_t *lpwszStr, int nLength, iterator Where, int WhereLineNumber = -1);
iterator PushString(const wchar_t* Str, size_t Size) { return InsertString(Str, static_cast<int>(Size), Lines.end()); }
iterator InsertString(const wchar_t *lpwszStr, int nLength, iterator Where, int WhereLineNumber);
iterator PushString(const wchar_t* Str, size_t Size) { return InsertString(Str, static_cast<int>(Size), Lines.end(), m_LinesCount); }
void TurnOffMarkingBlock();
void SwapState(Editor& swap_state);

Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4302)m4_dnl
m4_define(BUILD,4303)m4_dnl

0 comments on commit 9d6eb0d

Please sign in to comment.