Changeset 376


Ignore:
Timestamp:
Jun 20, 2007, 10:16:37 PM (13 years ago)
Author:
Jari Häkkinen
Message:

Trivial change: changing variable name href to url.

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/html_utility.cc

    r309 r376  
    3535namespace svndigest{
    3636
    37   std::string anchor(const std::string& href,
     37  std::string anchor(const std::string& url,
    3838                     const std::string& name, u_int level,
    3939                     const std::string& title)
     
    4646    for (size_t i=0; i<level; ++i)
    4747      ss << "../";
    48     ss << href;
     48    ss << url;
    4949    ss << "\">";
    5050    hs << name;
  • trunk/lib/html_utility.h

    r285 r376  
    3636  /// @brief create anchor
    3737  ///
    38   /// @param href address to link to
     38  /// @param url address to link to
    3939  /// @param name text visible on page
    4040  /// @param level '../' is added @a level times before @a href
    4141  /// @param title title of anchor
    4242  ///
    43   std::string anchor(const std::string& href,
     43  std::string anchor(const std::string& url,
    4444                     const std::string& name, u_int level=0,
    4545                     const std::string& title="");
    4646
    4747  ///
    48   /// @brief print html footer of page
     48  /// @Brief print html footer of page
    4949  ///
    5050  void print_footer(std::ostream&);
Note: See TracChangeset for help on using the changeset viewer.