# HG changeset patch # User Matti Hamalainen # Date 1289867999 -7200 # Node ID c73003485c2df5ffd6c560a223e987841b0c1deb # Parent ff3688e747c37420667882f1e08193690ab80a9f F7 to clear current PRV target. diff -r ff3688e747c3 -r c73003485c2d nnchat.c --- a/nnchat.c Tue Nov 16 02:06:52 2010 +0200 +++ b/nnchat.c Tue Nov 16 02:39:59 2010 +0200 @@ -1171,6 +1171,16 @@ printMsg("Ignore mode = %s\n", setIgnoreMode ? "ON" : "OFF"); break; + case 0x10f: /* F7 = Clear PRV target */ + if (setTarget) { + printMsg("Cleared PRV target.\n"); + setPrvMode = FALSE; + th_free(setTarget); + setTarget = NULL; + update = TRUE; + } + break; + case 0x110: /* F8 = switch between PRV */ if (setPrvMode) setPrvMode = FALSE;