fixed indention
This commit is contained in:
parent
22c2c5b237
commit
907b594978
@ -112,9 +112,9 @@ static inline char* getSlash(const char* str)
|
||||
}
|
||||
|
||||
static inline char* removeExtension(const char* str){
|
||||
const char* p;
|
||||
char* copy = calloc(strlen(str)+1,sizeof(char));
|
||||
char *copyHead = copy;/*Get copy of the head of the char* to return, otherwise it will return copy->null */
|
||||
const char* p;
|
||||
char* copy = calloc(strlen(str)+1,sizeof(char));
|
||||
char *copyHead = copy;/*Get copy of the head of the char* to return, otherwise it will return copy->null */
|
||||
for (p = str; p <= (str+strlen(str)) && *p != '.'; p++){
|
||||
*copy = *p;
|
||||
copy++;
|
||||
|
Loading…
Reference in New Issue
Block a user