Diff of /xbmc/GUIDialogMediaSource.cpp [b1dee6] .. [71cd32] Maximize Restore

Repo status: analyzing...

  Switch to side-by-side view

--- a/xbmc/GUIDialogMediaSource.cpp
+++ b/xbmc/GUIDialogMediaSource.cpp
@@ -379,12 +379,11 @@
   {
     m_confirmed = true;
     Close();
-  }
-
-  if (m_type == "video" && !CUtil::IsLiveTV(share.strPath) && 
-      !share.strPath.Left(6).Equals("rss://"))
-  {
-    CGUIWindowVideoFiles::OnAssignContent(share.strPath, 0, m_info, m_settings);
+    if (m_type == "video" && !CUtil::IsLiveTV(share.strPath) && 
+        !share.strPath.Left(6).Equals("rss://"))
+    {
+      CGUIWindowVideoFiles::OnAssignContent(share.strPath, 0, m_info, m_settings);
+    }
   }
 
   // and remove the share again