We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6824a5e commit cd776c7Copy full SHA for cd776c7
1 file changed
src/main/java/wprover/PanelProve.java
@@ -1665,7 +1665,12 @@ String setNode(Cond co) {
1665
}
1666
ret += "\"";
1667
// The files Rule??.jpg are located in the folder web (FIXME: make the GitHub repository configurable for forks):
1668
- String url = "https://github.com/kovzol/Java-Geometry-Expert/blob/master/src/main/resources/docs/web/Rule" + rule + ".jpg?raw=true";
+ String ruleStr = rule + "";
1669
+ if (rule < 10) {
1670
+ ruleStr = "0" + ruleStr; // leading zero
1671
+ }
1672
+ String url = "https://github.com/kovzol/Java-Geometry-Expert/blob/master/src/main/resources/docs/web/Rule"
1673
+ + ruleStr + ".jpg?raw=true";
1674
ret += ", URL=\"" + url + "\"";
1675
1676
else {
0 commit comments