changeset 14177:b8ba18471f4a

Somebody obviously took a course "coding non-portable". Pointers are not always 4 bytes!
author reimar
date Fri, 17 Dec 2004 20:32:46 +0000
parents dffd3abc7576
children 69d9d9ec86da
files Gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/interface.c	Fri Dec 17 19:38:00 2004 +0000
+++ b/Gui/interface.c	Fri Dec 17 20:32:46 2004 +0000
@@ -116,7 +116,7 @@
    free( (*list) );
   }
 
- (*list)=malloc( 8 );
+ (*list)=malloc( 2 * sizeof(char **) );
  (*list)[0]=gstrdup( entry );
  (*list)[1]=NULL;
 }