/*
 *     load
 */

#include <stdio.h>
#ifdef BSD
#include <strings.h>
#else
#include <string.h>
#endif
#include "jotto.h"

extern char    dict[DICTLEN][WORDLEN*2+1];
extern int     ndict;
extern FILE    *tape4;

load()
{
       char lline[80+1];

       rewind(tape4);
       ndict=0;
       while (fgets(lline, 80, tape4)) {
               strncpy(dict[ndict], lline, WORDLEN*2);
               dict[ndict++][WORDLEN*2] = '\0';
       }
       rewind(tape4);
}
