From 97a79b58e1b50b636576c4b9a932969ba6221bb0 Mon Sep 17 00:00:00 2001 From: Reinhard Pfau Date: Fri, 20 Jun 2008 13:50:34 +0000 Subject: [PATCH] libi2ncommon: (reinhard) just 4 fun :-) (added ZBytes and YBytes to nice_unit_format) --- src/stringfunc.cpp | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) 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; -- 1.7.1