Parent Directory
|
Revision Log
|
Patch
revision 205 by twoaday, Thu Apr 27 12:46:03 2006 UTC | revision 207 by twoaday, Fri Apr 28 10:28:24 2006 UTC | |
---|---|---|
# | Line 419 listview_scroll (listview_ctrl_t ctx, in | Line 419 listview_scroll (listview_ctrl_t ctx, in |
419 | ||
420 | ||
421 | int | int |
422 | listview_find (listview_ctrl_t ctx, const char * str) | listview_find (listview_ctrl_t ctx, const char *str) |
423 | { | { |
424 | LVFINDINFO inf; | LVFINDINFO inf; |
425 | int pos; | int pos; |
426 | ||
427 | /* XXX: allow to make a substring search. */ | |
428 | memset (&inf, 0, sizeof (inf)); | memset (&inf, 0, sizeof (inf)); |
429 | inf.flags = LVFI_STRING|LVFI_PARTIAL; | inf.flags = LVFI_STRING|LVFI_PARTIAL; |
430 | inf.psz = str; | inf.psz = str; |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |