Skip to content

Commit

Permalink
Bug 661814 - writeMemberNavIndex template calls static fixSpaces
Browse files Browse the repository at this point in the history
Problem had already been, partly, solved seen the comment in index.cpp.
Removed double code (from htmlgen.cpp) and added prototype.
  • Loading branch information
albert-github committed Jul 24, 2015
1 parent 45e153f commit 69d5ffa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions src/htmlgen.cpp
Expand Up @@ -1952,11 +1952,6 @@ static void endQuickIndexItem(FTextStream &t,const char *l)
t << "</li>\n";
}

static QCString fixSpaces(const QCString &s)
{
return substitute(s," ","&#160;");
}

static bool quickLinkVisible(LayoutNavEntry::Kind kind)
{
static bool showFiles = Config_getBool("SHOW_FILES");
Expand Down
1 change: 1 addition & 0 deletions src/index.h
Expand Up @@ -284,5 +284,6 @@ void initNamespaceMemberIndices();
void addClassMemberNameToIndex(MemberDef *md);
void addFileMemberNameToIndex(MemberDef *md);
void addNamespaceMemberNameToIndex(MemberDef *md);
QCString fixSpaces(const QCString &s);

#endif

0 comments on commit 69d5ffa

Please sign in to comment.