diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-10-04 17:59:31 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-10-04 17:59:31 (GMT) |
commit | 22eb9881c15ad001246cfcde1c727a2f98f472df (patch) | |
tree | c777493c5b4e995749975a8c04c2e5990035a641 /src/index.cpp | |
parent | 22dc10cfbe5042f21b9d706e5e8bb41749f65786 (diff) | |
download | Doxygen-22eb9881c15ad001246cfcde1c727a2f98f472df.zip Doxygen-22eb9881c15ad001246cfcde1c727a2f98f472df.tar.gz Doxygen-22eb9881c15ad001246cfcde1c727a2f98f472df.tar.bz2 |
Release-1.4.5
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/index.cpp b/src/index.cpp index 7bae11a..e5e3ace 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -1105,9 +1105,10 @@ void writeAnnotatedClassList(OutputList &ol) ClassDef *cd; // clear index - for (int y=0;y<CHL_Total;y++) + int x,y; + for (y=0;y<CHL_Total;y++) { - for (int x=0;x<256;x++) + for (x=0;x<256;x++) { g_classIndexLetterUsed[y][x]=FALSE; } @@ -1230,7 +1231,8 @@ void writeAlphabeticalClassList(OutputList &ol) } QCString alphaLinks = "<p><div class=\"qindex\">"; - for (int l = 0; l < 256; l++) + int l; + for (l = 0; l < 256; l++) { if (indexLetterUsed[l]) { @@ -1287,7 +1289,7 @@ void writeAlphabeticalClassList(OutputList &ol) int col=0,row=0; //int icount=0; startLetter=0; - for (int l = 0; l < 256; l++) + for (l = 0; l < 256; l++) { if (!indexLetterUsed[l]) continue; @@ -1303,7 +1305,8 @@ void writeAlphabeticalClassList(OutputList &ol) col++; row=0; } - for (uint i = 0; i < classesByLetter[l].count(); i++) + uint i; + for (i = 0; i < classesByLetter[l].count(); i++) { // add the class definition to the correct column list colList[col].append (classesByLetter[l].at (i)); |