diff -r -u '--exclude=*~' doxygen-1.8.2/src/qhp.cpp doxygen-1.8.2.patched/src/qhp.cpp
--- doxygen-1.8.2/src/qhp.cpp   2012-08-06 18:45:09.000000000 +0100
+++ doxygen-1.8.2.patched/src/qhp.cpp   2012-09-25 16:02:27.920651683 +0100
@@ -124,9 +124,10 @@
 
   // Add extra root node
   QCString fullProjectname = getFullProjectName();
+  QCString indexString = QCString("index")+Doxygen::htmlFileExtension;
   const char * const attributes[] =
   { "title", fullProjectname,
-    "ref",   QCString("index")+Doxygen::htmlFileExtension,
+    "ref",   indexString,
     NULL
   };
   m_toc.open("section", attributes);
