Commit f234aee9 authored by Rafaël Carré's avatar Rafaël Carré

osx: fix config_GetLibDir

parent 5aaa94e4
...@@ -107,7 +107,7 @@ char *config_GetLibDir (void) ...@@ -107,7 +107,7 @@ char *config_GetLibDir (void)
char *path = config_GetLibPath (); char *path = config_GetLibPath ();
if (path != NULL) if (path != NULL)
{ {
char *p = strrchr (p, '/'); char *p = strrchr (path, '/');
if (p != NULL) if (p != NULL)
{ {
*p = '\0'; *p = '\0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment