From: Reinhard Pfau Date: Fri, 20 Jun 2008 13:50:34 +0000 (+0000) Subject: libi2ncommon: (reinhard) just 4 fun :-) (added ZBytes and YBytes to nice_unit_format) X-Git-Tag: v2.6~171 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=97a79b58e1b50b636576c4b9a932969ba6221bb0;p=libi2ncommon libi2ncommon: (reinhard) just 4 fun :-) (added ZBytes and YBytes to nice_unit_format) --- diff --git a/src/stringfunc.cpp b/src/stringfunc.cpp index 7753d96..bf6567d 100644 --- a/src/stringfunc.cpp +++ b/src/stringfunc.cpp @@ -934,6 +934,12 @@ string nice_unit_format(int input) case 6: out << size << i18n (" EBytes"); break; + case 7: + out << size << i18n (" ZBytes"); + break; + case 8: + out << size << i18n (" YBytes"); + break; default: out << size << "*10^" << (sizecount*3)<< i18n (" Bytes"); break;