diff --git a/ZRColaCompile/main.cpp b/ZRColaCompile/main.cpp index 867231d..18ccce7 100644 --- a/ZRColaCompile/main.cpp +++ b/ZRColaCompile/main.cpp @@ -69,10 +69,12 @@ public: inline bool operator<(_In_ const com_translation& other) const { - if (rank < other.rank) return true; - else if (rank > other.rank) return false; - else if (src < other.src ) return true; - else return false; + if (src.str < other.src.str ) return true; + else if (src.str > other.src.str ) return false; + else if (src.rank < other.src.rank) return true; + else if (src.rank > other.src.rank) return false; + else if (rank < other.rank ) return true; + else return false; } inline bool operator<=(_In_ const com_translation &other) const diff --git a/output/data/ZRCola.zrcdb b/output/data/ZRCola.zrcdb index e0eb58a..0d4c419 100644 Binary files a/output/data/ZRCola.zrcdb and b/output/data/ZRCola.zrcdb differ