[Nautilus-list] Pressing å,ä or ö crashes nautilus.



Nautilus (HEAD) crashes when you're pressing å, ä or ö.
(3 swedish characters)

This patch fixes it.

Have i written it correct, and may i commit?

--
-------------------------------------------------
- Johan Dahlin              Address:            - 
- zilch am home se          Nygatan 17, nb      -
- UIN:   1704687            523 30 Ulricehamn   -
- PHONE: +46 (0)321-17559   SWEDEN              -
- IRC:   zilch on #swedsex GimpNET              -
-------------------------------------------------
Index: libnautilus-private/nautilus-icon-container.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-container.c,v
retrieving revision 1.213
diff -u -r1.213 nautilus-icon-container.c
--- libnautilus-private/nautilus-icon-container.c	2001/05/31 16:05:40	1.213
+++ libnautilus-private/nautilus-icon-container.c	2001/06/01 11:47:41
@@ -2170,7 +2170,7 @@
 
 		/* Require the match pattern to already be lowercase. */
 		g_assert (tolower ((guchar) match_state->name[match_length]) 
-			  == match_state->name[match_length]);
+			  == ((guchar)match_state->name[match_length]));
 			
 		if (tolower ((guchar) name[match_length]) != match_state->name[match_length]) {
 			break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]