]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmltag.cpp
Correct EnsureVisible() to show last item entirely
[wxWidgets.git] / src / html / htmltag.cpp
index 4365a26554316d4165255e2fb0322b4403650d9c..d06313704346adb64c43c29d227228e51654d96b 100644 (file)
@@ -431,12 +431,12 @@ bool wxHtmlTag::HasParam(const wxString& par) const
     return (m_ParamNames.Index(par, false) != wxNOT_FOUND);
 }
 
-wxString wxHtmlTag::GetParam(const wxString& par, bool with_commas) const
+wxString wxHtmlTag::GetParam(const wxString& par, bool with_quotes) const
 {
     int index = m_ParamNames.Index(par, false);
     if (index == wxNOT_FOUND)
         return wxGetEmptyString();
-    if (with_commas)
+    if (with_quotes)
     {
         // VS: backward compatibility, seems to be never used by wxHTML...
         wxString s;