Fixed an error where a random string would get executed after a recent fix that checked if the window column size was zero was added on the lldb driver startup.

llvm-svn: 113179
This commit is contained in:
Greg Clayton 2010-09-06 23:01:25 +00:00
parent 339cc7bfef
commit f7c0fd8dc8
1 changed files with 3 additions and 1 deletions

View File

@ -1088,8 +1088,10 @@ Driver::MainLoop ()
char buffer[25];
if (window_size.ws_col > 0)
{
sprintf (buffer, "settings set term-width %d", window_size.ws_col);
m_debugger.HandleCommand ((const char *) buffer);
m_debugger.HandleCommand ((const char *) buffer);
}
}
// Since input can be redirected by the debugger, we must insert our editline