1.1 --- a/sourcemm/concommands.cpp Sun Feb 05 20:24:58 2006 +0000
1.2 +++ b/sourcemm/concommands.cpp Thu Feb 09 06:55:02 2006 +0000
1.3 @@ -376,16 +376,16 @@
1.4
1.5 if (file[0] == '/' || strcmp(&(file[1]), ":\\") == 0)
1.6 {
1.7 + g_SmmAPI.PathFormat(full_path, sizeof(full_path)-1, "%s", file);
1.8 snprintf(full_path, sizeof(full_path)-1, "%s", file);
1.9 } else {
1.10 const char *ext = UTIL_GetExtension(file);
1.11 #if defined WIN32 || defined _WIN32
1.12 ext = ext ? "" : ".dll";
1.13 - snprintf(full_path, sizeof(full_path)-1, "%s\\%s%s", g_ModPath.c_str(), file, ext);
1.14 #else
1.15 ext = ext ? "" : "_i486.so";
1.16 - snprintf(full_path, sizeof(full_path)-1, "%s/%s%s", g_ModPath.c_str(), file, ext);
1.17 #endif
1.18 + g_SmmAPI.PathFormat(full_path, sizeof(full_path)-1, "%s/%s%s", g_ModPath.c_str(), file, ext);
1.19 }
1.20
1.21 char error[255]={0};