Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
Immanuel
/
nnn
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
Don't attempt to go back if on the relative root
master
lostd
11 anos atrás
pai
8d4019f3aa
commit
9407399230
1 arquivos alterados
com
3 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+3
-1
noice.c
+ 3
- 1
noice.c
Ver arquivo
@@ -658,7 +658,9 @@ nochange:
return;
case SEL_BACK:
/* There is no going back */
if (strcmp(path, "/") == 0)
if (strcmp(path, "/") == 0 ||
strcmp(path, ".") == 0 ||
strchr(path, '/') == NULL)
goto nochange;
if (canopendir(path) == 0) {
printwarn();
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar