Skip to content

Commit bd84271

Browse files
authored
Merge pull request cryptonomex#629 from bitshares/180202-fix-windows-build
Fix Windows build
2 parents c570a73 + b5a1674 commit bd84271

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libraries/app/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fc::uint128 to_capped128( const u256& t )
5454
string uint128_amount_to_string( const fc::uint128& amount, const uint8_t precision )
5555
{ try {
5656
string s = string( amount );
57-
if( precision == 0 || amount == 0 )
57+
if( precision == 0 || amount == fc::uint128() )
5858
return s;
5959

6060
std::stringstream ss;

0 commit comments

Comments
 (0)