diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/Matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 8abffa7..410e4c6 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -333,7 +333,7 @@ namespace QuickMedia { }); #else std::sort(room_body_items.begin(), room_body_items.end(), [](const std::shared_ptr<BodyItem> &body_item1, const std::shared_ptr<BodyItem> &body_item2) { - return body_item1->get_title() > body_item2->get_title(); + return strcasecmp(body_item1->get_title().c_str(), body_item2->get_title().c_str()) < 0; }); #endif } |