Changeset 32510


Ignore:
Timestamp:
2018-10-10T21:14:33+13:00 (6 years ago)
Author:
ak19
Message:

Bugfix when exporting from GLI: calling substring resulted in indexOutOfBounds.

File:
1 edited

Legend:

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

    r28702 r32510  
    637637    // Ignore the messages from RecPlug with 'show_progress' set (used for progress bars)
    638638    String message = event.getMessage();
     639    int len = "export.pl> ".length();
    639640    if (message.startsWith("export.pl>")) {
    640         message = message.substring(13);
     641        message = message.substring(len);
    641642        //DebugStream.println("message = "+event.getMessage());
    642643        error_message.append(message);
Note: See TracChangeset for help on using the changeset viewer.