mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-11 13:10:32 +00:00
parent
1f097f28e0
commit
b21daa47d6
5
mscan.c
5
mscan.c
@ -436,7 +436,10 @@ oneline(char *file)
|
|||||||
e--;
|
e--;
|
||||||
while (file < e && *e != '/')
|
while (file < e && *e != '/')
|
||||||
e--;
|
e--;
|
||||||
char *b = e - 1;
|
while (file < e && *e == '/')
|
||||||
|
e--;
|
||||||
|
char *b = e;
|
||||||
|
e++;
|
||||||
while (file < b && *b != '/')
|
while (file < b && *b != '/')
|
||||||
b--;
|
b--;
|
||||||
if (*b == '/')
|
if (*b == '/')
|
||||||
|
Loading…
Reference in New Issue
Block a user