Mercurial > dwindows
changeset 1317:52de99e55f5f
Reverting change 1278 until we come up with a way to solver the issue Mark is having.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 05 Nov 2011 02:21:56 +0000 |
parents | 3475887f9445 |
children | ebd67be26f43 |
files | gtk/dw.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk/dw.c Fri Nov 04 23:58:01 2011 +0000 +++ b/gtk/dw.c Sat Nov 05 02:21:56 2011 +0000 @@ -7516,7 +7516,7 @@ for(z=0;z<rowcount;z++) { rowdata = gtk_clist_get_row_data(GTK_CLIST(clist), z); - if ( strcmp(rowdata, text) == 0 ) + if ( rowdata == text ) { gfloat pos; GtkAdjustment *adj = gtk_clist_get_vadjustment(GTK_CLIST(clist)); @@ -7561,7 +7561,7 @@ for(z=0;z<rowcount;z++) { rowdata = gtk_clist_get_row_data(GTK_CLIST(clist), z); - if ( strcmp(rowdata, text) == 0 ) + if ( rowdata == text ) { _dw_unselect(clist);