Commit d47d07ef authored by claes's avatar claes

Bugfix in alphaorder

parent eef360d3
/*
* Proview $Id: cnv_wbltohtml.cpp,v 1.15 2008-03-03 11:01:09 claes Exp $
* Proview $Id: cnv_wbltohtml.cpp,v 1.16 2008-03-05 11:47:59 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -1307,6 +1307,7 @@ int CnvWblToHtml::typedef_close()
void CnvWblToHtml::print_all_menu()
{
// Sort
if ( all_types.size()) {
for ( unsigned int i = all_types.size() - 1; i > 0; i--) {
for ( unsigned int j = 0; j < i; j++) {
if ( !(all_types[j] < all_types[j+1])) {
......@@ -1316,7 +1317,8 @@ void CnvWblToHtml::print_all_menu()
}
}
}
}
if ( all_classes.size()) {
for ( unsigned int i = all_classes.size() - 1; i > 0; i--) {
for ( unsigned int j = 0; j < i; j++) {
if ( !(all_classes[j] < all_classes[j+1])) {
......@@ -1326,6 +1328,7 @@ void CnvWblToHtml::print_all_menu()
}
}
}
}
for ( unsigned int i = 0; i < all_types.size(); i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment