diff options
author | Erich Eckner <git@eckner.net> | 2018-10-02 10:54:57 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-02 10:54:57 +0200 |
commit | 871beb116f24545e797602820b10473f67d25eb3 (patch) | |
tree | 94e11f98356655092955748c5aef270231380c49 /raetselunit.inc | |
parent | 842e89c229ccc8d77c69622a6cc7e5fe974a33ae (diff) | |
download | Raetsel-871beb116f24545e797602820b10473f67d25eb3.tar.xz |
sudoku repariert
Diffstat (limited to 'raetselunit.inc')
-rw-r--r-- | raetselunit.inc | 4 |
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; |