[Kazehakase-cvs] CVS update: kazehakase/src

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Mon Jan 15 09:14:59 JST 2007


Index: kazehakase/src/kz-window.c
diff -u kazehakase/src/kz-window.c:1.311 kazehakase/src/kz-window.c:1.312
--- kazehakase/src/kz-window.c:1.311	Sat Jan  6 18:36:22 2007
+++ kazehakase/src/kz-window.c	Mon Jan 15 09:14:59 2007
@@ -809,15 +809,19 @@
 	{
 		gchar *engine;
 		engine = KZ_CONF_GET_STR("Global", "layout_engine");
-		if (engine && !strcmp(engine, "gtk+-webcore"))
-		{
-			g_free(engine);
-			return KZ_EMBED(kz_khtml_new(url));
-		}
-		else
+		if (engine)
 		{
+			if (!strcmp(engine, "gtk+-webcore"))
+			{
+				g_free(engine);
+				return KZ_EMBED(kz_khtml_new(url));
+			}
+			else
+			{
+				g_free(engine);
+				return KZ_EMBED(kz_moz_embed_new(url));
+			}
 			g_free(engine);
-			return KZ_EMBED(kz_moz_embed_new(url));
 		}
 	}
 #else /* ENABLE_GTK_WEBCORE */


More information about the Kazehakase-cvs mailing list
Back to archive index