Permalink
Browse files

Remove whitespace at the end of the line and change dumpHistory to ha…

…ve constistant indenting
  • Loading branch information...
1 parent 36a4d5b commit 522833b4a9cb2beca23a2355099b9881105dd71e Benjamin C Meyer committed Jun 22, 2009
Showing with 5 additions and 5 deletions.
  1. +5 −5 llmozlib2/llembeddedbrowserwindow.cpp
@@ -592,10 +592,10 @@ std::string LLEmbeddedBrowserWindow::getNoFollowScheme()
void LLEmbeddedBrowserWindow::prependHistoryUrl(std::string url)
{
#ifdef WEBHISTORYPATCH
- // *HACK: we only have a URL here, we set a "" title and "current time" as
+ // *HACK: we only have a URL here, we set a "" title and "current time" as
// last visited time.
- d->mPage->history()->prependItem(QString::fromStdString(url),
- QString::fromAscii(""),
+ d->mPage->history()->prependItem(QString::fromStdString(url),
+ QString::fromAscii(""),
QDateTime::currentDateTime());
#endif
}
@@ -609,8 +609,8 @@ std::string LLEmbeddedBrowserWindow::dumpHistory()
{
std::ostringstream oss;
const QList<QWebHistoryItem> &items = d->mPage->history()->backItems(9999);
- oss << "cur: " << d->mPage->history()->currentItemIndex() << ":"
- << d->mPage->history()->currentItem().url().toString().toAscii().data() << "\n";
+ oss << "cur: " << d->mPage->history()->currentItemIndex() << ":"
+ << d->mPage->history()->currentItem().url().toString().toAscii().data() << "\n";
for (int i=0; i< items.count(); i++) {
oss << items[i].url().toString().toAscii().data() << "\n";
}

0 comments on commit 522833b

Please sign in to comment.