forked from AuroraMiddleware/gtk
Fix off-by-one error in checks. (Dave Lambert)
Tue Dec 12 11:52:16 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix off-by-one error in checks. (Dave Lambert)
This commit is contained in:
parent
944046942a
commit
90461d7def
@ -1,3 +1,8 @@
|
||||
Tue Dec 12 11:52:16 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix
|
||||
off-by-one error in checks. (Dave Lambert)
|
||||
|
||||
2000-12-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkkeyboard-fb.c (xlate_close, raw_close):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Dec 12 11:52:16 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix
|
||||
off-by-one error in checks. (Dave Lambert)
|
||||
|
||||
2000-12-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkkeyboard-fb.c (xlate_close, raw_close):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Dec 12 11:52:16 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix
|
||||
off-by-one error in checks. (Dave Lambert)
|
||||
|
||||
2000-12-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkkeyboard-fb.c (xlate_close, raw_close):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Dec 12 11:52:16 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix
|
||||
off-by-one error in checks. (Dave Lambert)
|
||||
|
||||
2000-12-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkkeyboard-fb.c (xlate_close, raw_close):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Dec 12 11:52:16 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix
|
||||
off-by-one error in checks. (Dave Lambert)
|
||||
|
||||
2000-12-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkkeyboard-fb.c (xlate_close, raw_close):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Dec 12 11:52:16 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix
|
||||
off-by-one error in checks. (Dave Lambert)
|
||||
|
||||
2000-12-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkkeyboard-fb.c (xlate_close, raw_close):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Dec 12 11:52:16 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_optimal_column_width): Fix
|
||||
off-by-one error in checks. (Dave Lambert)
|
||||
|
||||
2000-12-12 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkkeyboard-fb.c (xlate_close, raw_close):
|
||||
|
@ -1689,7 +1689,7 @@ gtk_clist_optimal_column_width (GtkCList *clist,
|
||||
g_return_val_if_fail (clist != NULL, 0);
|
||||
g_return_val_if_fail (GTK_CLIST (clist), 0);
|
||||
|
||||
if (column < 0 || column > clist->columns)
|
||||
if (column < 0 || column >= clist->columns)
|
||||
return 0;
|
||||
|
||||
if (GTK_CLIST_SHOW_TITLES(clist) && clist->column[column].button)
|
||||
|
Loading…
Reference in New Issue
Block a user