Fix message sorting order

This commit is contained in:
Hackerpilot 2014-08-14 14:22:40 -07:00
parent d3daf6e6ad
commit b1bf15c96d
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ struct Message
string message;
}
enum comparitor = q{ a.line < b.line || a.line < b.line };
enum comparitor = q{ a.line < b.line || (a.line == b.line && a.column < b.column) };
alias MessageSet = RedBlackTree!(Message, comparitor, true);