From 81d61c64a50c34b874d7b6ba7fc70de833b5b822 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 16 Feb 2009 17:54:39 -0500 Subject: [PATCH] Normalized line endings to unix (no bug). --- core/metamod.cpp | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/core/metamod.cpp b/core/metamod.cpp index 64e217c..2733e56 100644 --- a/core/metamod.cpp +++ b/core/metamod.cpp @@ -1125,28 +1125,28 @@ ProcessVDF(const char *path, bool &skipped) if (alias[0] != '\0') g_PluginMngr.SetAlias(alias, file); - /* Attempt to find a file extension */ - if (UTIL_GetExtension(file) == NULL) - { - g_pMetamod->PathFormat(full_path, - sizeof(full_path), - "%s/%s%s", - g_pMetamod->GetBaseDir(), - file, -#if defined WIN32 || defined _WIN32 - ".dll" -#else - "_i486.so" -#endif - ); - } - else - { - g_pMetamod->PathFormat(full_path, - sizeof(full_path), - "%s/%s", - g_pMetamod->GetBaseDir(), - file); + /* Attempt to find a file extension */ + if (UTIL_GetExtension(file) == NULL) + { + g_pMetamod->PathFormat(full_path, + sizeof(full_path), + "%s/%s%s", + g_pMetamod->GetBaseDir(), + file, +#if defined WIN32 || defined _WIN32 + ".dll" +#else + "_i486.so" +#endif + ); + } + else + { + g_pMetamod->PathFormat(full_path, + sizeof(full_path), + "%s/%s", + g_pMetamod->GetBaseDir(), + file); } id = g_PluginMngr.Load(full_path, Pl_File, already, error, sizeof(error));