Skip to content

Commit a792ba8

Browse files
committed
Allow negative elevation input in EditPosition (#155)
Update version to V4.2.1
1 parent 49ce52a commit a792ba8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Course Generator is a software which can estimate your time in road running race
44

55
![Course Generator Main window](https://imgur.com/4tM7kUR.png)
66

7-
## Status : Version 4.2.0 (stable)
7+
## Status : Version 4.2.1 (stable)
88

99
## History
1010
I created Course Generator in 2008 for my first 100 km ultra trail. Since then, I added a lot of features and it has been used by a lot of french ultra-runner. Up to the version 3.88 it has been written in C# and now java is used in order to be cross platform (Windows, Mac OS and Linux) and multilingual.

build/course_generator.jar

0 Bytes
Binary file not shown.

src/course_generator/dialogs/frmEditPosition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ private void initComponents() {
446446
Utils.addComponent(panelRight, lbElevation, 0, line, 1, 1, 0, 0, 5, 0, 0, 5,
447447
GridBagConstraints.BASELINE_LEADING, GridBagConstraints.BOTH);
448448

449-
spinElevation = new CgSpinner(0, 0, 100000, 1);
449+
spinElevation = new CgSpinner(0, -1000, 100000, 1);
450450
Utils.addComponent(panelRight, spinElevation, 1, line, 3, 1, 0, 0, 5, 0, 0, 5,
451451
GridBagConstraints.BASELINE_LEADING, GridBagConstraints.BOTH);
452452

src/course_generator/frmMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
public class frmMain extends javax.swing.JFrame {
165165
private static final long serialVersionUID = 6484405417503538528L;
166166

167-
private final static String Version = "4.2.0";
167+
private final static String Version = "4.2.1";
168168

169169
public static boolean inEclipse = false;
170170
public static CgLog log = null;

tools/CG_Install_Script.nsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# These three must be integers
1414
!define VERSIONMAJOR 4
1515
!define VERSIONMINOR 2
16-
!define VERSIONBUILD 0
16+
!define VERSIONBUILD 1
1717
# These will be displayed by the "Click here for support information" link in "Add/Remove Programs"
1818
# It is possible to use "mailto:" links in here to open the email client
1919
!define HELPURL "https://techandrun.com/course-generator/" # "Support Information" link
@@ -31,7 +31,7 @@ LicenseData "..\gpl-3.0.txt"
3131
# This will be in the installer/uninstaller's title bar
3232
Name "${APPNAME}"
3333
Icon "..\build\cg.ico"
34-
# outFile "Course_Generator_install_4_2_0.exe"
34+
# outFile "Course_Generator_install_4_2_1.exe"
3535
outFile "..\distrib\Course_Generator_install_${VERSIONMAJOR}_${VERSIONMINOR}_${VERSIONBUILD}.exe"
3636

3737
!include LogicLib.nsh

0 commit comments

Comments
 (0)