]> mj.ucw.cz Git - minsk.git/blobdiff - minsk.c
readme.html: Fixed link to Po Drátě
[minsk.git] / minsk.c
diff --git a/minsk.c b/minsk.c
index 6091229e5ee27e1eb40a0ca4dbbdf4341cda10e4..50038f6697ed40d61d3b45865ab11908383ab4cd 100644 (file)
--- a/minsk.c
+++ b/minsk.c
@@ -1284,7 +1284,7 @@ static void init_memory(int set_password)
       // not +00 00 0000 0000 (NOP). Otherwise, an empty program would reveal
       // the location of the password :)
       for (int i=0; i<memblocks; i++)
-        for (int j=0; i<MEM_SIZE; j++)
+        for (int j=0; j<MEM_SIZE; j++)
           mem[i][j] = 01000000000000ULL;
 
       // Store the password