diff src/gtk/bookmarks.c @ 844:1ece208d1357

2006-11-2 Brian Masney <masneyb@gftp.org> * src/gtk/bookmarks.c - removed UTF-8 check since the string is already in that format
author masneyb
date Fri, 03 Nov 2006 02:37:09 +0000
parents 96ce71cd7bf5
children 877282be3a78
line wrap: on
line diff
--- a/src/gtk/bookmarks.c	Fri Nov 03 02:35:47 2006 +0000
+++ b/src/gtk/bookmarks.c	Fri Nov 03 02:37:09 2006 +0000
@@ -425,12 +425,8 @@
   while ((pos = strchr (str, '/')) != NULL)
     *pos++ = ' ';
 #else
-  if (g_utf8_validate (str, -1, NULL))
-    newentry->path = g_strdup (str);
-  else
-    newentry->path = g_locale_to_utf8 (str, -1, &bread, &bwrite, NULL);
-
-  while ((pos = g_utf8_strchr (str, -1, '/')) != NULL)
+  newentry->path = g_strdup (str);
+  while ((pos = g_utf8_strchr (newentry->path, -1, '/')) != NULL)
     *pos++ = ' ';
 #endif