More fixes for compiling

This commit is contained in:
Joshua Leung
2008-05-04 10:48:45 +00:00
parent b7de3918fb
commit 0dfd373c39
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ static void adjustPath(string &path)
// if relative, expand to full path
char cpath[MAXPATHLEN];
strcpy(cpath, path.c_str());
BLI_convertstringcode(cpath, G.sce, 0);
BLI_convertstringcode(cpath, G.sce);
path = cpath;
#ifdef WIN32
// add drive char if not there

View File

@@ -278,7 +278,7 @@ static void adjustPath(string &path)
// if relative, expand to full path
char cpath[MAXPATHLEN];
strcpy(cpath, path.c_str());
BLI_convertstringcode(cpath, G.sce, 0);
BLI_convertstringcode(cpath, G.sce);
path = cpath;
#ifdef WIN32
// add drive char if not there