| 953 | } |
| 954 | |
| 955 | bool check_end(AssDialogue *d1, AssDialogue *d2) { |
| 956 | if (boost::ends_with(d1->Text.get(), d2->Text.get())) { |
| 957 | d1->Text = trim_text(d1->Text.get().substr(0, d1->Text.get().size() - d2->Text.get().size())); |
| 958 | expand_times(d1, d2); |
| 959 | return true; |
| 960 | } |
| 961 | return false; |
| 962 | } |
| 963 | |
| 964 | } |
| 965 |
no test coverage detected