mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
- Fix gdb2 and regexpl warnings under gcc 4.4.0
svn path=/trunk/; revision=42968
This commit is contained in:
parent
a8d673a487
commit
a557cda82c
8 changed files with 16 additions and 12 deletions
|
@ -220,7 +220,7 @@ unsigned int CConsole::GetTabWidth()
|
|||
return TAB_WIDTH;
|
||||
}
|
||||
|
||||
BOOL CConsole::SetTitle(TCHAR *p)
|
||||
BOOL CConsole::SetTitle(const TCHAR *p)
|
||||
{
|
||||
return SetConsoleTitle(p);
|
||||
}
|
||||
|
@ -640,7 +640,7 @@ Paste:
|
|||
m_pchBuffer[dwLastCharOffset] = 0; // terminate string in buffer
|
||||
ret = Write(m_pchBuffer);
|
||||
m_History.AddHistoryLine(m_pchBuffer);
|
||||
TCHAR *strLF = _T("\n");
|
||||
static TCHAR strLF[] = _T("\n");
|
||||
ret = Write(strLF);
|
||||
break;
|
||||
}
|
||||
|
@ -1008,7 +1008,7 @@ void CConsole::BeginScrollingOperation()
|
|||
m_Lines = 0;
|
||||
}
|
||||
|
||||
BOOL CConsole::WriteString(TCHAR *pchString, COORD Position)
|
||||
BOOL CConsole::WriteString(const TCHAR *pchString, COORD Position)
|
||||
{
|
||||
CHAR_INFO ciBuffer[256];
|
||||
int nSize = _tcslen(pchString);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue