diff options
Diffstat (limited to 'catgets/gencat.c')
-rw-r--r-- | catgets/gencat.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/catgets/gencat.c b/catgets/gencat.c index 37b73ea..9924cb916 100644 --- a/catgets/gencat.c +++ b/catgets/gencat.c @@ -670,17 +670,17 @@ write_out (struct catalog *catalog, const char *output_name, } message_run = message_run->next; } - - if (act_depth * act_size <= best_total) - { - /* We have found a better solution. */ - best_total = act_depth * act_size; - best_size = act_size; - best_depth = act_depth; - } set_run = set_run->next; } + if (act_depth * act_size <= best_total) + { + /* We have found a better solution. */ + best_total = act_depth * act_size; + best_size = act_size; + best_depth = act_depth; + } + ++act_size; } |