Skip to content

Commit

Permalink
Fix table display in RemoteConsole sample
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejlach committed Sep 11, 2014
1 parent c368c54 commit d234cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RemoteConsole/RemoteConsole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static void PrintResult(QDictionary d)

static void PrintResult(QTable t)
{
var rowsToShow = Math.Min(t.RowsCount, 20);
var rowsToShow = Math.Min(t.RowsCount + 1, 20);
var dataBuffer = new object[1 + rowsToShow][];
var columnWidth = new int[t.ColumnsCount];

Expand Down

0 comments on commit d234cff

Please sign in to comment.