![]() ![]() | ![]() |
version 1.21, 2009/11/18 13:16:33 | version 1.22, 2009/11/19 10:22:06 | ||
---|---|---|---|
|
|
||
template = options_get_string(&s->options, "set-titles-string"); | template = options_get_string(&s->options, "set-titles-string"); | ||
title = status_replace(c, template, time(NULL)); | title = status_replace(c, template, time(NULL), 1); | ||
if (c->title == NULL || strcmp(title, c->title) != 0) { | if (c->title == NULL || strcmp(title, c->title) != 0) { | ||
if (c->title != NULL) | if (c->title != NULL) | ||
xfree(c->title); | xfree(c->title); |