Showing history from current log in chat windows

This commit is contained in:
James Booth
2012-10-14 04:10:03 +01:00
parent 18c6bb9219
commit 579201636e
6 changed files with 127 additions and 18 deletions

View File

@@ -103,7 +103,7 @@ prof_handle_incoming_message(char *from, char *message)
{
win_show_incomming_msg(from, message);
win_page_off();
if (prefs_get_chlog()) {
char from_cpy[strlen(from) + 1];
strcpy(from_cpy, from);