Commit 87b98de4 authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Rename member variable m_histType to _historyType.

parent 5e8a76c3
......@@ -183,13 +183,13 @@ int HistoryFile::len()
HistoryScroll::HistoryScroll(HistoryType* t)
: m_histType(t)
: _historyType(t)
{
}
HistoryScroll::~HistoryScroll()
{
delete m_histType;
delete _historyType;
}
bool HistoryScroll::hasScroll()
......@@ -394,7 +394,7 @@ void HistoryScrollBuffer::setMaxNbLines(unsigned int lineCount)
delete[] oldBuffer;
_wrappedLine.resize(lineCount);
dynamic_cast<HistoryTypeBuffer*>(m_histType)->m_nbLines = lineCount;
dynamic_cast<HistoryTypeBuffer*>(_historyType)->m_nbLines = lineCount;
}
int HistoryScrollBuffer::bufferIndex(int lineNumber)
......
......@@ -118,10 +118,10 @@ public:
// is very unsafe, because those references will no longer
// be valid if the history scroll is deleted.
//
const HistoryType& getType() { return *m_histType; }
const HistoryType& getType() { return *_historyType; }
protected:
HistoryType* m_histType;
HistoryType* _historyType;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment