diff options
| author | Shereef Marzouk <GreYFoXGTi@GMaiL.CoM> | 2011-08-11 10:59:14 +0200 |
|---|---|---|
| committer | Shereef Marzouk <GreYFoXGTi@GMaiL.CoM> | 2011-08-11 10:59:14 +0200 |
| commit | c6fd4a2cc57f8d9dec7164aff98f5a73abc9698d (patch) | |
| tree | c17c0042e9865ea0d6c0476ee7ef930b4dbcab35 /src/engine/shared/console.cpp | |
| parent | 2084febca79d57de3fe1d2781bf0803dd3e96b27 (diff) | |
| download | zcatch-c6fd4a2cc57f8d9dec7164aff98f5a73abc9698d.tar.gz zcatch-c6fd4a2cc57f8d9dec7164aff98f5a73abc9698d.zip | |
General whitespace and tab cleanup
Diffstat (limited to 'src/engine/shared/console.cpp')
| -rw-r--r-- | src/engine/shared/console.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/shared/console.cpp b/src/engine/shared/console.cpp index e4cb1991..de5116c1 100644 --- a/src/engine/shared/console.cpp +++ b/src/engine/shared/console.cpp @@ -665,7 +665,7 @@ void CConsole::Register(const char *pName, const char *pParams, pCommand->m_pName = pName; pCommand->m_pHelp = pHelp; pCommand->m_pParams = pParams; - + pCommand->m_Flags = Flags; pCommand->m_Temp = false; @@ -699,7 +699,7 @@ void CConsole::RegisterTemp(const char *pName, const char *pParams, int Flags, c } pCommand->m_pfnCallback = 0; - pCommand->m_pUserData = 0; + pCommand->m_pUserData = 0; pCommand->m_Flags = Flags; pCommand->m_Temp = true; @@ -729,7 +729,7 @@ void CConsole::DeregisterTemp(const char *pName) break; } } - + // add to recycle list if(pRemoved) { @@ -742,7 +742,7 @@ void CConsole::DeregisterTempAll() { // set non temp as first one for(; m_pFirstCommand && m_pFirstCommand->m_Temp; m_pFirstCommand = m_pFirstCommand->m_pNext); - + // remove temp entries from command list for(CCommand *pCommand = m_pFirstCommand; pCommand && pCommand->m_pNext; pCommand = pCommand->m_pNext) { |