From d9910301451db0f86db94b6bda691e055f18d68b Mon Sep 17 00:00:00 2001 From: jeefo Date: Wed, 30 Dec 2015 09:19:05 +0300 Subject: [PATCH] no tabs in code! --- project/yapb.vcxproj | 4 ++-- source/interface.cpp | 16 ++++++++-------- source/support.cpp | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/project/yapb.vcxproj b/project/yapb.vcxproj index c308152..d8ed05f 100644 --- a/project/yapb.vcxproj +++ b/project/yapb.vcxproj @@ -54,12 +54,12 @@ DynamicLibrary - v140_xp + v120_xp false DynamicLibrary - v140_xp + v120_xp false diff --git a/source/interface.cpp b/source/interface.cpp index e5093f6..f5867f8 100644 --- a/source/interface.cpp +++ b/source/interface.cpp @@ -3017,17 +3017,17 @@ DLL_GIVEFNPTRSTODLL GiveFnptrsToDll (enginefuncs_t *functionTable, globalvars_t // register our cvars convars.PushRegisteredConVarsToEngine (); - // ensure data & learned directory are created (as we can download waypoints from the net) - const char *path = GetWaypointDir (); + // ensure data & learned directory are created (as we can download waypoints from the net) + const char *path = GetWaypointDir (); - // ensure data path exists - CreatePath (const_cast (path)); + // ensure data path exists + CreatePath (const_cast (path)); - char learnedPath[256]; - snprintf (learnedPath, SIZEOF_CHAR (learnedPath), "%s/learned", path); + char learnedPath[256]; + snprintf (learnedPath, SIZEOF_CHAR (learnedPath), "%s/learned", path); - // ensure data/learned path exists - CreatePath (learnedPath); + // ensure data/learned path exists + CreatePath (learnedPath); #ifdef PLATFORM_ANDROID g_gameVersion = CSV_OLD; // temporary, until opensource client dll get BotVoice message diff --git a/source/support.cpp b/source/support.cpp index c627396..28f4a24 100644 --- a/source/support.cpp +++ b/source/support.cpp @@ -960,7 +960,7 @@ extern bool OpenConfig(const char *fileName, const char *errorIfNotExists, File const char *GetWaypointDir (void) { - return FormatBuffer ("%s/addons/yapb/data/", GetModName ()); + return FormatBuffer ("%s/addons/yapb/data/", GetModName ()); } extern void RegisterCommand(const char *command, void funcPtr (void))