From 8d892df7d79a8e40d797fc17c827fef4cf1f1939 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 28 Apr 2024 17:27:45 +1000 Subject: [PATCH] GUI: Change Edit Text dialog to not use Calibri --- GUI/Popups/ColorSelector.Designer.cs | 1 - GUI/Popups/EditText.Designer.cs | 1 - GUI/Popups/TokenSelector.Designer.cs | 1 - MCGalaxy/Server/Server.cs | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/GUI/Popups/ColorSelector.Designer.cs b/GUI/Popups/ColorSelector.Designer.cs index d3bebe392..2e9e62297 100644 --- a/GUI/Popups/ColorSelector.Designer.cs +++ b/GUI/Popups/ColorSelector.Designer.cs @@ -27,7 +27,6 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(200, 200); this.Controls.Add(this.btnCancel); - this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Load += new System.EventHandler(this.ColorSelector_Load); this.MaximizeBox = false; diff --git a/GUI/Popups/EditText.Designer.cs b/GUI/Popups/EditText.Designer.cs index 4537ac3cd..1f51f8e21 100644 --- a/GUI/Popups/EditText.Designer.cs +++ b/GUI/Popups/EditText.Designer.cs @@ -95,7 +95,6 @@ namespace MCGalaxy.Gui.Popups this.Controls.Add(this.btnColor); this.Controls.Add(this.txtEdit); this.Controls.Add(this.cmbList); - this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Load += new System.EventHandler(this.EditText_Load); this.MaximizeBox = false; diff --git a/GUI/Popups/TokenSelector.Designer.cs b/GUI/Popups/TokenSelector.Designer.cs index a29d24d48..1c5f38708 100644 --- a/GUI/Popups/TokenSelector.Designer.cs +++ b/GUI/Popups/TokenSelector.Designer.cs @@ -29,7 +29,6 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(200, 200); this.Controls.Add(this.btnCancel); - this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Load += new System.EventHandler(this.TokenSelector_Load); this.MaximizeBox = false; diff --git a/MCGalaxy/Server/Server.cs b/MCGalaxy/Server/Server.cs index 90a826c8b..533112276 100644 --- a/MCGalaxy/Server/Server.cs +++ b/MCGalaxy/Server/Server.cs @@ -278,7 +278,7 @@ namespace MCGalaxy #if MCG_STANDALONE // Server.RestartPath is empty in self contained builds // TODO maybe move this elsewhere? - if (string.IsNullOrEmpty(path) path = GetRuntimeProcessExePath(); + if (string.IsNullOrEmpty(path)) path = GetRuntimeProcessExePath(); #endif return path;