diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-10-04 17:59:31 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-10-04 17:59:31 (GMT) |
commit | c1cf420f89fe57c162372b66bca70ff2e055f48f (patch) | |
tree | c777493c5b4e995749975a8c04c2e5990035a641 /src/index.cpp | |
parent | b3063065e56a63056b094b58a883856267e32db3 (diff) | |
download | Doxygen-c1cf420f89fe57c162372b66bca70ff2e055f48f.zip Doxygen-c1cf420f89fe57c162372b66bca70ff2e055f48f.tar.gz Doxygen-c1cf420f89fe57c162372b66bca70ff2e055f48f.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)); |