mirror of
https://github.com/KDE/konsole.git
synced 2026-05-08 06:35:07 -04:00
Not a good idea to reuse the name of member variable for parameter.
The old code is syntactially correct and works as expected, but it is confusing at first glance.
This commit is contained in:
@@ -293,11 +293,11 @@ void Emulation::receiveData(const char* text, int length)
|
||||
}
|
||||
}*/
|
||||
|
||||
void Emulation::writeToStream( TerminalCharacterDecoder* _decoder ,
|
||||
void Emulation::writeToStream( TerminalCharacterDecoder* decoder ,
|
||||
int startLine ,
|
||||
int endLine)
|
||||
{
|
||||
_currentScreen->writeLinesToStream(_decoder,startLine,endLine);
|
||||
_currentScreen->writeLinesToStream(decoder,startLine,endLine);
|
||||
}
|
||||
|
||||
int Emulation::lineCount() const
|
||||
|
||||
Reference in New Issue
Block a user