summaryrefslogtreecommitdiff
path: root/misc/xiphos/files/patch-src_gs_editor.c
blob: 6bfe1c65d935beb2dbb2e0c09a2ab69fd1977832 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- src/gs_editor.c.orig	Fri Feb 28 17:32:42 2003
+++ src/gs_editor.c	Fri Feb 28 17:33:19 2003
@@ -1252,6 +1252,10 @@
 		   GSHTMLEditorControlData * ecd)
 {
 	gchar buf[256], *target = "";
+#ifdef USE_GTKHTML1
+	const gchar *url;
+	const gchar *text;
+#endif
 	
 	HTMLEngine *e = ecd->html->engine;	
 	if (strlen(linkmod))
@@ -1260,8 +1264,6 @@
 		sprintf(buf, "passage=%s", linkref);
 	
 #ifdef USE_GTKHTML1
-	const gchar *url;
-	const gchar *text;
 	url = buf;
 	text = linkref;
 	if (url && text && *url && *text) {