Skip to content

Commit

Permalink
0003026: FindFiles access violation exception
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Oct 26, 2015
1 parent 6365ad5 commit 72ef1be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
drkns 26.10.2015 09:25:44 +0200 - build 4446
drkns 27.10.2015 01:26:44 +0200 - build 4447

1. 0003026: FindFiles access violation exception

drkns 26.10.2015 09:25:44 +0200 - build 4446

1. Формат статусной стоки вынесен в lng.

Expand Down
2 changes: 1 addition & 1 deletion far/findfile.cpp
Expand Up @@ -1171,7 +1171,7 @@ bool FindFiles::LookForString(const string& Name)
if (i.CodePage==CP_REVERSEBOM)
{
// Äëÿ UTF-16 (big endian) ïðåîáðàçóåì áóôåð ÷òåíèÿ â áóôåð ñðàâíåíèÿ
swap_bytes(readBufferA.data(), readBuffer.data(), readBuffer.size() * sizeof(VALUE_TYPE(readBuffer)));
swap_bytes(readBufferA.data(), readBuffer.data(), readBlockSize);
// Óñòàíàâëèâàåì áóôåð ñðàâíåíèÿ
buffer = readBuffer.data();
}
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4446)m4_dnl
m4_define(BUILD,4447)m4_dnl

0 comments on commit 72ef1be

Please sign in to comment.