summaryrefslogtreecommitdiff
path: root/editors/beaver/files/patch-ba
blob: 300df8e0657915e7b6178dca0abb1383d6a5e091 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/languages.c.orig	Fri Apr 11 02:04:36 2003
+++ src/languages.c	Fri Apr 11 02:04:37 2003
@@ -88,13 +88,13 @@
 	{
 	  gchar *fixed = g_strdup (Prefs.L[lang].Description);
 	  gchar *s;
+	  GtkItemFactoryEntry NewEntry = {s, NULL, languages_treatment,
+					  lang, "<Item>"};
 	  
 	  fixed = str_replace_tokens (&fixed, '/', "\\");
 	  s = g_strconcat("/Language/",
 				 fixed,
 				 NULL);
-	  GtkItemFactoryEntry NewEntry = {s, NULL, languages_treatment,
-					  lang, "<Item>"};
 
 	  gtk_item_factory_create_items
 	    (gtk_item_factory_from_path  ("<main>"), 1, &NewEntry, NULL);