[Nautilus-list] 64bit bug in nautilus-icon-container
- From: Alex Larsson <alexl redhat com>
- To: <nautilus-list lists eazel com>
- Subject: [Nautilus-list] 64bit bug in nautilus-icon-container
- Date: Wed, 1 Aug 2001 15:49:40 -0400 (EDT)
Patch below.
Index: libnautilus-private/nautilus-icon-container.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-container.c,v
retrieving revision 1.214.2.1
diff -u -p -r1.214.2.1 nautilus-icon-container.c
--- libnautilus-private/nautilus-icon-container.c 2001/07/19 19:14:48 1.214.2.1
+++ libnautilus-private/nautilus-icon-container.c 2001/08/01 18:27:09
@@ -1069,7 +1069,7 @@ lay_down_icons_tblr (NautilusIconContain
g_assert (grid_memory);
/* Allocate room for the pointers to the rows */
- icon_grid = malloc (num_rows * sizeof (int));
+ icon_grid = malloc (num_rows * sizeof (int *));
g_assert (icon_grid);
/* Point to array pointers */
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]