From 907b59497896329dab6900b861099a6d98faf7e9 Mon Sep 17 00:00:00 2001 From: NightlyFox Date: Fri, 21 Sep 2018 21:11:36 -0500 Subject: [PATCH] fixed indention --- common/menu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/menu.h b/common/menu.h index a7f690d..79b62bc 100644 --- a/common/menu.h +++ b/common/menu.h @@ -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++;