Skip to content

Commit

Permalink
Fixed undefined reference to M_StrCat in fs_util.c
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Jan 3, 2012
1 parent 0b1de89 commit 0d60b21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doomsday/engine/portable/src/fs_util.c
Expand Up @@ -42,16 +42,14 @@

#include "de_base.h"
#include "de_filesys.h"
#include "de_misc.h"

void F_FileDir(ddstring_t* dst, const ddstring_t* src)
{
assert(NULL != dst && NULL != src);
{
/// \fixme Potentially truncates @a src to FILENAME_T_MAXLEN
directory_t* dir = Dir_ConstructFromPathDir(Str_Text(src));
Str_Set(dst, Dir_Path(dir));
Dir_Delete(dir);
}
}

void F_FileName(ddstring_t* dst, const char* src)
Expand Down

0 comments on commit 0d60b21

Please sign in to comment.