Commit 8a0c9440 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 703213 - Can't use @ref instead of \ref with msc

parent f4719c30
...@@ -55,7 +55,7 @@ static bool convertMapFile(QTextStream &t,const char *mapName,const QCString rel ...@@ -55,7 +55,7 @@ static bool convertMapFile(QTextStream &t,const char *mapName,const QCString rel
// obtain the url and the coordinates in the order used by graphviz-1.5 // obtain the url and the coordinates in the order used by graphviz-1.5
sscanf(buf,"rect %s %d,%d %d,%d",url,&x1,&y1,&x2,&y2); sscanf(buf,"rect %s %d,%d %d,%d",url,&x1,&y1,&x2,&y2);
if ( strcmp(url,"\\ref") == 0 ) if (qstrcmp(url,"\\ref")==0 || qstrcmp(url,"@ref")==0)
{ {
isRef = TRUE; isRef = TRUE;
sscanf(buf,"rect %s %s %d,%d %d,%d",ref,url,&x1,&y1,&x2,&y2); sscanf(buf,"rect %s %s %d,%d %d,%d",ref,url,&x1,&y1,&x2,&y2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment