Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit 3fb3bde

Browse files
committed
v.51
1 parent 2713a19 commit 3fb3bde

File tree

8 files changed

+16
-30
lines changed

8 files changed

+16
-30
lines changed

BUILD/ANDREICSLIB.dll

1.5 KB
Binary file not shown.

BUILD/Word Find Solver.exe

-512 Bytes
Binary file not shown.

INFO/changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
version 0.51
2+
*Fixed bug changing value of grid point.
3+
*Removed useless menu option.
4+
15
version 0.5
26
*Added histogram OCR tuned for SpellTower, and chosen by default.
37
*Can now add letter and word multipliers by right clicking on a letter.

INFO/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5
1+
0.51

SOURCE/Word Find Solver.v11.suo

16.5 KB
Binary file not shown.

SOURCE/Word Find Solver/Form1.Designer.cs

Lines changed: 4 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SOURCE/Word Find Solver/Form1.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public partial class Form1 : Form
1717
#region licensing
1818

1919
private const string AppTitle = "Word Find Solver";
20-
private const double AppVersion = 0.5;
20+
private const double AppVersion = 0.51;
2121
private const String HelpString = "";
2222

2323
private const String UpdatePath = "https://github.com/EvilSeven/Word-Find-Solver/zipball/master";
@@ -406,7 +406,7 @@ public void GridTBChangeEvent(object sender, EventArgs e)
406406
{
407407
AllowTbChangeEvent = false;
408408
var tb = sender as TextBox;
409-
Grid.SetGridPointValue(tb, tb.Text[0], false);
409+
Grid.SetGridPointValue(tb, tb.Text, false);
410410

411411
Solve(true);
412412
ApplySolve();
@@ -430,7 +430,7 @@ public void changeMultiplierToolStripMenuItem_Click(object sender, EventArgs e)
430430
{
431431
new MassVariableEdit.TextBoxItems("Enter a letter multiplier for this grid square", "1",
432432
KeypressEvent, AcceptFinalTextBoxTextH,"Must be >=0 and a number"),
433-
new MassVariableEdit.TextBoxItems("Enter an extra word bonus multiplier. Adding 1 here will make the word worth 2x etc",
433+
new MassVariableEdit.TextBoxItems("Enter an extra word bonus multiplier. eg 1=2x score",
434434
"0",KeypressEvent, AcceptFinalTextBoxTextH, "Must be >=0 and a number")
435435
};
436436

SOURCE/Word Find Solver/grid.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,10 +580,12 @@ public static GridPoint GetPointFromTextBox(TextBox tb)
580580
return grid[y][x];
581581
}
582582

583-
public static void SetGridPointValue(TextBox tb, char c, bool setTextboxValue = true)
583+
public static void SetGridPointValue(TextBox tb, string sFirstOnly, bool setTextboxValue = true)
584584
{
585585
var gp = GetPointFromTextBox(tb);
586-
var c2 = c.ToString(CultureInfo.InvariantCulture).ToUpper()[0];
586+
if (sFirstOnly.Length == 0)
587+
sFirstOnly = "\0";
588+
var c2 = sFirstOnly.ToUpper()[0];
587589
gp.Tb.Text = c2.ToString(CultureInfo.InvariantCulture);
588590
gp.C = c2;
589591
}

0 commit comments

Comments
 (0)