Move declaration and definition of win_get_last_sent_message to the correct place

This commit is contained in:
MarcoPolo-PasTonMolo
2021-10-22 10:24:51 +03:00
parent 6b0f15a1c9
commit da3a6d8743
5 changed files with 33 additions and 32 deletions

View File

@@ -9569,7 +9569,7 @@ cmd_correct_editor(ProfWin* window, const char* const command, gchar** args)
return TRUE;
}
gchar* initial_message = _get_last_message(window);
gchar* initial_message = win_get_last_sent_message(window);
gchar* message = NULL;
if (_get_message_from_editor(initial_message, &message)) {