diff src/ui_pathsel.c @ 605:651ae2be1031

Use g_ascii_strncasecmp() instead of strncasecmp() where applicable. Add a FIXME where potential improper usage of strncasecmp() is made.
author zas_
date Thu, 08 May 2008 12:50:25 +0000
parents 9dc0513837b5
children e07895754e65
line wrap: on
line diff
--- a/src/ui_pathsel.c	Thu May 08 12:38:34 2008 +0000
+++ b/src/ui_pathsel.c	Thu May 08 12:50:25 2008 +0000
@@ -134,6 +134,7 @@
 			}
 		if (*f_ptr != '\0' && f_ptr[1] == ' ') f_ptr++;	/* skip space immediately after separator */
 		f_ptr++;
+		/* FIXME: utf8 */
 		if (l >= i && strncasecmp(file + l - i, strt_ptr, i) == 0) return TRUE;
 		}
 	return FALSE;