Skip to content

Commit e65b34a

Browse files
committed
Fix an issue when \macro_image was after \macro_code in python scripts.
1 parent 6a92280 commit e65b34a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

documentation/doxygen/filter.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,10 @@ void FilterTutorial()
386386
if (gLineString.find("\\author") != string::npos) {
387387
if (gPython) printf("%s",StringFormat("%s \n## \\cond \n",gLineString.c_str()).c_str());
388388
else printf("%s",StringFormat("%s \n/// \\cond \n",gLineString.c_str()).c_str());
389-
if (showTutSource == 1) showTutSource = 2;
389+
if (showTutSource == 1) {
390+
showTutSource = 2;
391+
m = fopen(StringFormat("%s/macros/%s",gOutDir.c_str(),gMacroName.c_str()).c_str(), "w");
392+
}
390393
incond = 1;
391394
} else {
392395
printf("%s",gLineString.c_str());

0 commit comments

Comments
 (0)