Skip to content

Commit 407f61e

Browse files
committed
fixed dumb bug
1 parent 854ba27 commit 407f61e

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

bin/tests/ParserTest.class

-12 Bytes
Binary file not shown.

releases/ShiftOverflow_v0.4.0.jar

-237 KB
Binary file not shown.

src/ui/UI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public void checkVersion(String currentVersion) {
292292
if (currentVersion.equals("")) { //if we couldn't find version file just don't worry about it
293293
return;
294294
}
295-
if (currentVersion != UI.VERSION) {
295+
if (!currentVersion.equals(UI.VERSION)) {
296296
// tell user they need to update
297297
displayMessage("You are not using the current version of ShiftOverflow. The current version is v" + currentVersion + ". Please close and update by visiting\ngithub.com/comp110/ShiftOverflow/releases/tag/v" + currentVersion + " before continuing.", false);
298298
}

0 commit comments

Comments
 (0)