Skip to content

Commit

Permalink
allow spaces in the destinations setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
ymnk committed Mar 24, 2012
1 parent 4e409d1 commit d46407e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/jcraft/jcterm/JCTermSwingFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ static void resetCounter(){
private static String[] destinations = new String[0];
static synchronized void setDestinations(String _destinations){
destinations = _destinations.split(",");
for(int i=0; i<destinations.length; i++){
destinations[i] = destinations[i].trim();
}
}

private int mode=SHELL;
Expand Down

0 comments on commit d46407e

Please sign in to comment.