e7d134db03
PornView is an image and movie viewer/manager with thumbnail previews. Additional features includes thumbnail caching, directory tree views, adjustable zoom, fullscreen view, and slideshow mode. PornView contains no objectionable content. This package is built with GTK+ 1.0 support. Packaged by David Howland.
14 lines
570 B
Text
14 lines
570 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2006/02/11 13:06:43 rillig Exp $
|
|
|
|
--- src/support/widgets/zlist.c.orig 2002-12-13 10:52:56.000000000 +0000
|
|
+++ src/support/widgets/zlist.c
|
|
@@ -634,7 +634,8 @@ zlist_draw (GtkWidget * widget, GdkRecta
|
|
CELL_X_FROM_COL (list, j), area->y,
|
|
list->cell_x_pad, area->height);
|
|
|
|
- cell = ZLIST_CELL_FROM_INDEX (list, idx);
|
|
+ if (idx < list->cell_count)
|
|
+ cell = ZLIST_CELL_FROM_INDEX (list, idx);
|
|
|
|
cell_area.x = CELL_X_FROM_COL (list, j) + list->cell_x_pad;
|
|
cell_area.y = CELL_Y_FROM_ROW (list, i) + list->cell_y_pad;
|