load.c
changeset 2 57a1fcb0c75c
parent 0 7f37716d4f1e
child 5 c87681fff7d3
--- a/load.c	Sat Aug 11 14:09:03 2007 +0200
+++ b/load.c	Sat Aug 11 15:52:30 2007 +0200
@@ -23,8 +23,15 @@
 
 static void new_word(struct Word *from)
 {
+    static int dispnwords = 0;
     memcpy(&words[nwords], from, sizeof(*from));
     nwords++;
+    dispnwords++;
+    if (dispnwords >= 1000)
+    {
+        dispnwords = 0;
+        printf("Loaded: %i\n", nwords);
+    }
 }
 
 static void new_dont_touch(int n)