Commit 30f57ae7 authored by edward.lee@engineering.uiuc.edu's avatar edward.lee@engineering.uiuc.edu
Browse files

Leak bustage fix for Bug 434340 - The bookmark tags feature is broken on...

Leak bustage fix for Bug 434340 - The bookmark tags feature is broken on Firefox 3.0rc1 for OpenSolaris
parent 2d15f3f8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@
// "comment" back into the title and tag.
// Use a Unichar array to avoid problems with 2-byte char strings: " \u2013 "
const PRUnichar kTitleTagsSeparatorChars[] = { ' ', 0x2013, ' ', 0 };
const nsString kTitleTagsSeparator = nsAutoString(kTitleTagsSeparatorChars);
#define TITLE_TAGS_SEPARATOR nsAutoString(kTitleTagsSeparatorChars)

////////////////////////////////////////////////////////////////////////////////
//// nsNavHistoryAutoComplete Helper Functions
@@ -772,7 +772,7 @@ nsNavHistory::AutoCompleteProcessSearch(mozIStorageStatement* aQuery,

      // Add the tags to the title if necessary
      if (showTags)
        title += kTitleTagsSeparator + entryTags;
        title += TITLE_TAGS_SEPARATOR + entryTags;

      // Tags have a special style to show a tag icon; otherwise, style the
      // bookmarks that aren't feed items and feed URIs as bookmark