Skip to content
Snippets Groups Projects
Commit a0334581 authored by rswindell's avatar rswindell
Browse files

Moved backslash to xpdev/dirwrap.c.

parent d2fe390f
No related branches found
No related tags found
No related merge requests found
......@@ -256,20 +256,6 @@ char* DLLCALL truncstr(char* str, const char* set)
return(p);
}
/****************************************************************************/
/* Puts a backslash on path strings */
/****************************************************************************/
void backslash(char *str)
{
int i;
i=strlen(str);
if(i && str[i-1]!='\\' && str[i-1]!='/') {
str[i]=BACKSLASH;
str[i+1]=0;
}
}
/****************************************************************************/
/* Puts a backslash on path strings if not just a drive letter and colon */
/****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment