summaryrefslogtreecommitdiff
path: root/raetselunit.inc
diff options
context:
space:
mode:
Diffstat (limited to 'raetselunit.inc')
-rw-r--r--raetselunit.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/raetselunit.inc b/raetselunit.inc
index e319ea1..5b7ffe0 100644
--- a/raetselunit.inc
+++ b/raetselunit.inc
@@ -96,8 +96,8 @@ begin
S:=0;
K:=0;
if sudokuCB.checked then begin
- KZ:=(Zeile div dim)*dim;
- KS:=(Spalte div dim)*dim;
+ KZ:=(Zeile div NSqrt)*NSqrt;
+ KS:=(Spalte div NSqrt)*NSqrt;
for I:=0 to dim-1 do begin
{$IFDEF buchstaben}
W:=W*(groeszen[0]+2)+inhalt[Zeile*dim+I]+1;