Helmut Karlowski wrote:
- (const char *)t.text = title; + char *tx = wi->wname; + t.text = tx;
t.text is char* title is const char * So the obvious fix is: t.text = (char*)title; Your patch is correct, but unnecessary complex. -- Vincent Rivière