Changeset 9704


Ignore:
Timestamp:
2005-04-18T14:29:20+12:00 (19 years ago)
Author:
mdewsnip
Message:

Exporting would never work because the arguments array had two null elements at the end: 2 was being added to num_args erroneously.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/ExportAsPrompt.java

    r9249 r9704  
    282282    boolean has_title = false;
    283283    if (!cd_title.equals("")) {
    284         num_args += 2;
    285284        has_title = true;
    286285    }
     
    319318    for (int i=0; i<num_collections;i++,next_arg++) {
    320319        args[next_arg] = ((BasicCollectionConfiguration)selected_collections.get(i)).getShortName();
    321     }   
    322    
    323     /*
    324     args[next_arg] = ((BasicCollectionConfiguration)selected_collections.get(0)).getShortName(); next_arg++;
    325     */
     320    }
    326321
    327322    DebugStream.print("export command = ");
Note: See TracChangeset for help on using the changeset viewer.