Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
descriptions & icase
  • Loading branch information
alabuzhev committed Apr 2, 2016
1 parent ab0c66f commit 067fb22
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
drkns 31.03.2016 10:00:26 +0200 - build 4608
drkns 03.04.2016 00:05:57 +0200 - build 4609

1. С форума: "С некоторых пор описания файлов неожидано стали регистрозависимые".

drkns 31.03.2016 10:00:26 +0200 - build 4608

1. Уточнение 4603. Не показываем "?" если владелец не определён.

Expand Down
3 changes: 2 additions & 1 deletion far/dizlist.cpp
Expand Up @@ -53,8 +53,9 @@ DizList::DizList():
{
}

DizList::~DizList()
bool DizList::map_pred::operator()(const string& a, const string& b) const
{
return !StrCmpI(a, b);
}

void DizList::Reset()
Expand Down
4 changes: 2 additions & 2 deletions far/dizlist.hpp
Expand Up @@ -39,7 +39,6 @@ class DizList: noncopyable
{
public:
DizList();
~DizList();

void Read(const string& Path, const string* DizName = nullptr);

Expand All @@ -54,7 +53,8 @@ class DizList: noncopyable
const string& GetDizName() const { return m_DizFileName; }

private:
typedef std::unordered_multimap<string, std::list<string>> desc_map;
struct map_pred { bool operator()(const string& a, const string& b) const; };
typedef std::unordered_multimap<string, std::list<string>, std::hash<string>, map_pred> desc_map;

desc_map::iterator Insert(const string& Name);
desc_map::iterator Find(const string& Name, const string& ShortName);
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4608)m4_dnl
m4_define(BUILD,4609)m4_dnl

0 comments on commit 067fb22

Please sign in to comment.