File r917750.diff of Package kde3-amarok

------------------------------------------------------------------------
r917750 | nhnielsen | 2009-01-28 15:01:43 +0100 (Mi, 28. Jan 2009) | 2 lines

Fix for wikipedia tab not showing any info. Thanks to Helge Stenström and WarwickH at https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/316140 for the fix.

------------------------------------------------------------------------
Index: amarok/src/contextbrowser.cpp
===================================================================
--- amarok/src/contextbrowser.cpp	(Revision 917749)
+++ amarok/src/contextbrowser.cpp	(Revision 917750)
@@ -4189,7 +4189,7 @@ ContextBrowser::wikiResult( KIO::Job* jo
     }
 
     // Ok lets remove the top and bottom parts of the page
-    m_wiki = m_wiki.mid( m_wiki.find( "<h1 class=\"firstHeading\">" ) );
+    m_wiki = m_wiki.mid( m_wiki.find( "<h1 id=\"firstHeading\"" ) );
     m_wiki = m_wiki.mid( 0, m_wiki.find( "<div class=\"printfooter\">" ) );
     // Adding back license information
     m_wiki += copyright;