added missing id when replacing notifications.

This commit is contained in:
progandy 2012-10-07 22:07:57 +02:00
parent fe1b2fd30e
commit 67427bbc18

View File

@ -969,6 +969,7 @@ int init_notification(notification * n, int id)
n->id = ++next_notification_id;
} else {
close_notification_by_id(id, -1);
n->id = ++next_notification_id;
}
if(strlen(n->msg) == 0) {