Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
Show short activity location, fix #34
Browse files Browse the repository at this point in the history
  • Loading branch information
davidschlachter committed Apr 30, 2019
1 parent 32f732d commit 86cb9bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schedule-generator/ca/uottawa/ui/ClientGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,8 @@ private void drawSchedule() {
String actType = a.getType();
String strAct = actType + " " + a.getNumber();
String strLoc = a.getPlace();

strLoc = strLoc.replaceAll("^[^(]+\\(", "(").replaceAll("[()]", "");

//We should find out what color this activity will be drawn in.
switch (actType) {
Expand Down

0 comments on commit 86cb9bf

Please sign in to comment.