better rc detection (Michael Teichgräber)
This commit is contained in:
parent
63b581e320
commit
314f5742af
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ rcmatchname(char *name)
|
|||
{
|
||||
char *p;
|
||||
|
||||
if((p = strchr(name, '/')) != nil)
|
||||
if((p = strrchr(name, '/')) != nil)
|
||||
name = p+1;
|
||||
if(name[0] == 'r' && name[1] == 'c')
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue