Skip to content
Permalink
Browse files

fix 4969

  • Loading branch information...
alabuzhev committed May 29, 2017
1 parent 5bd7796 commit 39f165f7eddf9633541767e18e5a183ba1fd880f
Showing with 6 additions and 2 deletions.
  1. +4 −0 far/changelog
  2. +1 −1 far/strmix.cpp
  3. +1 −1 far/vbuild.m4
@@ -1,3 +1,7 @@
drkns 29.05.2017 14:46:17 +0000 - build 4971

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

shmuel 27.05.2017 02:27:03 +0200 - build 4970

1. Уточнение 4585: при переключении между панелью Фара и плагина (в любую сторону) не сохранялись
@@ -580,7 +580,7 @@ string FileSizeToStr(unsigned long long FileSize, int WidthWithSign, unsigned lo
{
const auto Multiplier = std::pow(10, NumDigits);
const auto Value = Parts[1] * Multiplier;
const auto UseRound = false;
const auto UseRound = true;
const auto Fractional = static_cast<unsigned long long>(UseRound? std::round(Value) : Value);
return Fractional == Multiplier? std::make_pair(Integral + 1, 0ull) : std::make_pair(Integral, Fractional);
}();
@@ -1 +1 @@
m4_define(BUILD,4970)m4_dnl
m4_define(BUILD,4971)m4_dnl

0 comments on commit 39f165f

Please sign in to comment.
You can’t perform that action at this time.