Explorar el Código

tweak match

master
Connor Lane Smith hace 12 años
padre
commit
4c8d43ab73
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      dmenu.c

+ 2
- 2
dmenu.c Ver fichero

@@ -392,7 +392,7 @@ match(void) {
appenditem(item, &lsubstr, &substrend);
}
if(lprefix) {
if(matchend) {
if(matches) {
matchend->right = lprefix;
lprefix->left = matchend;
}
@@ -401,7 +401,7 @@ match(void) {
matchend = prefixend;
}
if(lsubstr) {
if(matchend) {
if(matches) {
matchend->right = lsubstr;
lsubstr->left = matchend;
}


Cargando…
Cancelar
Guardar