On Thursday 05 February 2009 16:02:23 Jan Kupec wrote:
What about the attached diff to ByteCount.cc as part of fixing https://bugzilla.novell.com/show_bug.cgi?id=471335 ?
Note the empty 'symbol' for Byte - this way users can just do:
No please. The class is named ByteCount and that's why prints per default "B" as unit. You should not change this semantic. Feel free to enhance the class to support different units like 'bit', but don't change the default behaviour. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org