From 50b41e5b28c2feaf17ede77ee5fc7f30f225896c Mon Sep 17 00:00:00 2001 From: "Mr.Stalin" Date: Mon, 22 Apr 2019 03:16:52 +0300 Subject: [PATCH] Fix options. --- HeadPatcher/HeadsFrmPatcher.cs | 8 ++++---- HeadPatcher/HeadsFrmPatcher.designer.cs | 12 ++++-------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/HeadPatcher/HeadsFrmPatcher.cs b/HeadPatcher/HeadsFrmPatcher.cs index 7db4fa6..bd2e055 100644 --- a/HeadPatcher/HeadsFrmPatcher.cs +++ b/HeadPatcher/HeadsFrmPatcher.cs @@ -43,15 +43,15 @@ namespace HeadsPatcher bw.BaseStream.Position += 2; bw.Write((short)0); bw.Write((int)0); - if (cbIncludesBackground.Checked) { + if (cbDisableHighlighting.Checked) { bw.Write((byte)1); } else { bw.Write((byte)0); } - if (cbDisableHighlighting.Checked) { - bw.Write((byte)0); - } else { + if (cbIncludesBackground.Checked) { bw.Write((byte)1); + } else { + bw.Write((byte)0); } bw.Close(); } diff --git a/HeadPatcher/HeadsFrmPatcher.designer.cs b/HeadPatcher/HeadsFrmPatcher.designer.cs index 23bc669..c6df41e 100644 --- a/HeadPatcher/HeadsFrmPatcher.designer.cs +++ b/HeadPatcher/HeadsFrmPatcher.designer.cs @@ -34,25 +34,21 @@ // cbDisableHighlighting // this.cbDisableHighlighting.AutoSize = true; - this.cbDisableHighlighting.Checked = true; - this.cbDisableHighlighting.CheckState = System.Windows.Forms.CheckState.Checked; this.cbDisableHighlighting.Location = new System.Drawing.Point(12, 12); this.cbDisableHighlighting.Name = "cbDisableHighlighting"; - this.cbDisableHighlighting.Size = new System.Drawing.Size(177, 17); + this.cbDisableHighlighting.Size = new System.Drawing.Size(117, 17); this.cbDisableHighlighting.TabIndex = 3; - this.cbDisableHighlighting.Text = "Disable background highlighting"; + this.cbDisableHighlighting.Text = "Disable highlighting"; this.cbDisableHighlighting.UseVisualStyleBackColor = true; // // cbIncludesBackground // this.cbIncludesBackground.AutoSize = true; - this.cbIncludesBackground.Checked = true; - this.cbIncludesBackground.CheckState = System.Windows.Forms.CheckState.Checked; this.cbIncludesBackground.Location = new System.Drawing.Point(12, 35); this.cbIncludesBackground.Name = "cbIncludesBackground"; - this.cbIncludesBackground.Size = new System.Drawing.Size(126, 17); + this.cbIncludesBackground.Size = new System.Drawing.Size(98, 17); this.cbIncludesBackground.TabIndex = 6; - this.cbIncludesBackground.Text = "Includes background"; + this.cbIncludesBackground.Text = "Fill background"; this.cbIncludesBackground.UseVisualStyleBackColor = true; // // bRun