From abfbc42df703c382a56cf1e06e4302cadbfe3395 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 25 Sep 2018 12:53:31 +0200 Subject: PNG image size optimization --- src/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/core.c b/src/core.c index fc1a5a09..5f155a0a 100644 --- a/src/core.c +++ b/src/core.c @@ -1375,8 +1375,7 @@ const char *GetDirectoryPath(const char *fileName) memset(filePath, 0, 256); lastSlash = strprbrk(fileName, "\\/"); - if (!lastSlash) - return NULL; + if (!lastSlash) return NULL; strncpy(filePath, fileName, strlen(fileName) - (strlen(lastSlash) - 1)); filePath[strlen(fileName) - strlen(lastSlash)] = '\0'; -- cgit v1.2.3