$NetBSD: patch-ag,v 1.4 2005/10/08 08:17:27 adam Exp $ --- src/outputlist.cpp.orig 2005-10-08 09:25:45.000000000 +0000 +++ src/outputlist.cpp @@ -166,7 +166,9 @@ void OutputList::parseDoc(const char *fi { //printf("og->printDoc(extension=%s)\n", // ctx?ctx->getDefFileExtension().data():""); - if (og->isEnabled()) og->printDoc(root,ctx?ctx->getDefFileExtension():QCString("")); + const char *ext = 0; + if (ctx) ext = ctx->getDefFileExtension(); + if (og->isEnabled()) og->printDoc(root, ext); og=outputs->next(); }