Changeset 12524


Ignore:
Timestamp:
2006-08-24T12:10:31+12:00 (18 years ago)
Author:
kjdon
Message:

commented out strings.h include as complains on windows, and doesn't seem to be needed for linux, changed i to j on some for loops otherwise windows complains about reinitialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/depositoraction.cpp

    r12516 r12524  
    5050
    5151#include <stdio.h>
    52 #include <strings.h> // seems to be needed for gcc 2.95, but not particularly happy it
     52//#include <strings.h> // seems to be needed for gcc 2.95, but not particularly happy it
    5353#include <fcntl.h>
    5454#include <time.h>
     
    379379
    380380  text_t &depositor_page = args["p"];
    381 
     381 
    382382  // set _pagescriptextra_ macro to _cpagescriptextra_
    383383  disp.setmacro ("pagescriptextra", "depositor", "_" + depositor_page + "scriptextra_");
     
    425425    text_t lastpage_textt = args["di1lastpage"];
    426426    int lastpage = lastpage_textt.getint();
    427 
     427   
    428428    // again, begin with the select bar...
    429429    //the first button - selecting a collection
     
    458458    depositorbar += "</tr><tr>";
    459459
    460     for(int i = 1; i <= 2*(stepnum-1); i++) {
     460    for(int j = 1; j <= 2*(stepnum-1); j++) {
    461461      depositorbar += "<td></td>";
    462462    }
     
    484484    depositorbar += "</tr><tr>";
    485485
    486     for(int i = 1; i <= 2*numsteps; i++) {
     486    for(int j = 1; j <= 2*numsteps; j++) {
    487487      depositorbar += "<td></td>";
    488488    }
     
    510510    depositorbar += "</tr><tr>";
    511511
    512     for(int i = 1; i <= 2*numsteps; i++) {
     512    for(int j = 1; j <= 2*numsteps; j++) {
    513513      depositorbar += "<td></td>";
    514514    }
Note: See TracChangeset for help on using the changeset viewer.