Skip to content

Commit 045dfef

Browse files
committed
Remove em dashes from setup dialog titles
1 parent e1127dc commit 045dfef

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

mode/CppMode.jar

-9 Bytes
Binary file not shown.

src/java/InstallWizard.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public static boolean run(RunnerListener listener) throws CancelledByUser {
8888
String missingMsg = isWin
8989
? "C++ Mode needs a C++ compiler (g++) to compile sketches.\n\n"
9090
+ "Click Install to download g++ automatically (~130 MB).\n"
91-
+ "GLFW and GLEW are already bundled — no extra downloads needed."
9291
: "Missing: " + String.join(", ", missing) + "\n\n"
9392
+ "C++ Mode needs these to compile and run sketches.";
9493
int choice = JOptionPane.showOptionDialog(null,
@@ -357,7 +356,7 @@ private java.util.List<String> detectWindowsMissing() {
357356
* dialog in run() — no further confirmation happens here.
358357
*/
359358
private boolean runWindows(java.util.List<String> missing) {
360-
buildDialog("C++ Mode Setup Windows");
359+
buildDialog("C++ Mode Setup: Windows");
361360
String pacman = findWindowsPacman();
362361

363362
Thread worker = new Thread(() -> {
@@ -515,7 +514,7 @@ private java.util.List<String> detectMacMissing() {
515514
* dialog in run() — no further confirmation happens here.
516515
*/
517516
private boolean runMac(java.util.List<String> missing) {
518-
buildDialog("C++ Mode Setup macOS");
517+
buildDialog("C++ Mode Setup: macOS");
519518
boolean needsCompiler = missing.contains("g++ (Xcode Command Line Tools)");
520519
java.util.List<String> missingLibs = new java.util.ArrayList<>();
521520
if (missing.contains("glfw")) missingLibs.add("glfw");
@@ -651,7 +650,7 @@ private String detectLinuxPackageManager() {
651650
* existing fallback already uses) rather than streaming output here.
652651
*/
653652
private boolean runLinux(java.util.List<String> missing) {
654-
buildDialog("C++ Mode Setup Linux");
653+
buildDialog("C++ Mode Setup: Linux");
655654
String pm = detectLinuxPackageManager();
656655

657656
Thread worker = new Thread(() -> {

0 commit comments

Comments
 (0)