Skip to content

Commit

Permalink
Linux compile issue with Console
Browse files Browse the repository at this point in the history
  • Loading branch information
darkangelab committed Jan 24, 2009
1 parent d4cefe0 commit e3c3554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/cConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ CConsole& CConsole::operator<<( const SI08 *outPut )
CConsole& CConsole::operator<<( const char *outPut )
{
StartOfLineCheck();
#if UOX_PLATFORM == PLATFORM_WIN32
CONSOLE_SCREEN_BUFFER_INFO ScrBuffInfo;
GetConsoleScreenBufferInfo( hco, &ScrBuffInfo );
std::string toDisplay = outPut;
Expand All @@ -134,6 +135,7 @@ CConsole& CConsole::operator<<( const char *outPut )
}
}
else
#endif
{
std::cout << outPut;
}
Expand Down

0 comments on commit e3c3554

Please sign in to comment.