Просмотр исходного кода

Make path of table entry relative to parent directory. Fixes bug introduced when source path changed to be relative to path argument.

[SVN r8513]
Beman Dawes 25 лет назад
Родитель
Сommit
3e6a9c38bc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      libs/regression.cpp

+ 1 - 1
libs/regression.cpp

@@ -197,7 +197,7 @@ void do_tests(std::ostream & out,
     std::cout << "*** " << file << " ***\n\n";
     std::cout << "*** " << file << " ***\n\n";
 
 
     out << "<tr>\n"
     out << "<tr>\n"
-        << "<td><a href=\"" << file << "\">" << file << "</a></td>\n"
+        << "<td><a href=\"../" << file << "\">" << file << "</a></td>\n"
         << "<td>" << type << "</td>\n";
         << "<td>" << type << "</td>\n";
 
 
     for(ForwardIterator it = firstcompiler; it != lastcompiler; ++it) {
     for(ForwardIterator it = firstcompiler; it != lastcompiler; ++it) {

粤ICP备19079148号