--- xgnokii_sms.c.orig 2003-01-25 14:43:15.000000000 +0100 +++ xgnokii_sms.c 2003-01-26 13:30:16.000000000 +0100 @@ -442,7 +442,8 @@ if (gtk_clist_get_text(GTK_CLIST(clist), row, 0, &(text1))) { dprintf("*text1: %s *text2: %s \n", text1, text2); - if (*text1 == *text2) { + /* strcpm(text1,text2) = 0 if text1 is the same string as text2 */ + if (!(strcmp(text1, text2) )) { /* Store the read status in phoneMonitor.sms.messages */