[Swfdec-commits] src/swfmoz_config.c
Benjamin Otte
company at kemper.freedesktop.org
Thu Jul 17 06:47:43 PDT 2008
src/swfmoz_config.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 5c5f5b93eb117af7c1ea85175f8cffd773409d59
Author: Benjamin Otte <otte at gnome.org>
Date: Thu Jul 17 15:46:50 2008 +0200
don't throw an error if we try to autoplay file:// urls
diff --git a/src/swfmoz_config.c b/src/swfmoz_config.c
index 10d4b49..024bc4f 100644
--- a/src/swfmoz_config.c
+++ b/src/swfmoz_config.c
@@ -121,6 +121,8 @@ swfmoz_config_should_autoplay (SwfmozConfig *config, const SwfdecURL *url)
g_return_val_if_fail (SWFMOZ_IS_CONFIG (config), FALSE);
host = swfdec_url_get_host (url);
+ if (host == NULL)
+ host = swfdec_url_get_protocol (url);
autoplay = swfmoz_config_read_autoplay (config, "global", autoplay);
autoplay = swfmoz_config_read_autoplay (config, host, autoplay);
More information about the Swfdec-commits
mailing list