Explorar el Código

Empty filter resets filter to the default

master
lostd hace 10 años
padre
commit
48e3305be8
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. +2
    -4
      noice.c

+ 2
- 4
noice.c Ver fichero

@@ -664,10 +664,8 @@ nochange:
/* Read filter */
printprompt("filter: ");
tmp = readln();
if (tmp == NULL) {
clearprompt();
goto nochange;
}
if (tmp == NULL)
tmp = xstrdup(ifilter);
r = setfilter(&re, tmp);
if (r != 0) {
free(tmp);


Cargando…
Cancelar
Guardar