Changeset 7276
- Timestamp:
- Dec 5, 2008, 3:31:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3x/gtk/tr-window.c
r7275 r7276 318 318 case FILTER_TEXT_MODE_FILES: 319 319 for( i=0; i<torInfo->fileCount && !ret; ++i ) { 320 pch = g_ ascii_strdown( torInfo->files[i].name, -1 );320 pch = g_utf8_casefold( torInfo->files[i].name, -1 ); 321 321 ret = !text || strstr( pch, text ) != NULL; 322 322 g_free( pch ); … … 325 325 326 326 case FILTER_TEXT_MODE_TRACKER: 327 pch = g_ ascii_strdown( torInfo->trackers[0].announce, -1 );327 pch = g_utf8_casefold( torInfo->trackers[0].announce, -1 ); 328 328 ret = !text || ( strstr( pch, text ) != NULL ); 329 329 g_free( pch ); … … 331 331 332 332 default: /* NAME */ 333 pch = g_ ascii_strdown( torInfo->name, -1 );333 pch = g_utf8_casefold( torInfo->name, -1 ); 334 334 ret = !text || ( strstr( pch, text ) != NULL ); 335 335 g_free( pch ); … … 440 440 pch = gtk_editable_get_chars( e, 0, -1 ); 441 441 g_free( p->filter_text ); 442 p->filter_text = g_ ascii_strdown( pch, -1 );442 p->filter_text = g_utf8_casefold( pch, -1 ); 443 443 refilter( p ); 444 444 g_free( pch );
Note: See TracChangeset
for help on using the changeset viewer.