make previous commit really work

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14699 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-03-30 16:53:19 +00:00
parent bac06ed5bd
commit 3eeb75e552

View File

@@ -206,7 +206,7 @@ unparse_something (int num, const struct units *units, char *s, size_t len,
int divisor;
divisor = num / u->mult;
if (div) {
if (divisor) {
num = (*update) (num, u->mult);
tmp = (*print) (s, len, divisor, u->name, num);
if (tmp < 0)