summaryrefslogtreecommitdiff
path: root/games/scramble/files/patch-src__perm.c
blob: 18d88ac834120d0313380c6c5e9f530e9375f7e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/perm.c.orig	Sun Mar 27 03:45:59 2005
+++ src/perm.c	Thu Nov 10 05:23:00 2005
@@ -149,11 +149,11 @@
  ****************************************************/
 static void resize()
 {
+        struct node ** old_table = dictionary;
 	unsigned int a;
         size_t old_size = sizeOfTable, i;
         sizeOfTable *= 2;
         numOfEntries = 0;
-        struct node ** old_table = dictionary;
 
         dictionary = (struct node **)malloc(sizeof(struct node *) * sizeOfTable);
         if(!dictionary) {