Why was this not const? I have no idea, but what a lame commit for me to make after all this time

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401417
This commit is contained in:
Scott Ehlert
2007-09-12 07:22:38 +00:00
parent 09618e15e1
commit 532f0bde47
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -479,7 +479,7 @@ void SourceModBase::DoGlobalPluginLoads()
g_PluginSys.AllPluginsLoaded();
}
size_t SourceModBase::BuildPath(PathType type, char *buffer, size_t maxlength, char *format, ...)
size_t SourceModBase::BuildPath(PathType type, char *buffer, size_t maxlength, const char *format, ...)
{
char _buffer[PLATFORM_MAX_PATH];
va_list ap;
+1 -1
View File
@@ -103,7 +103,7 @@ public: // SMGlobalClass
public: // ISourceMod
const char *GetGamePath() const;
const char *GetSourceModPath() const;
size_t BuildPath(PathType type, char *buffer, size_t maxlength, char *format, ...);
size_t BuildPath(PathType type, char *buffer, size_t maxlength, const char *format, ...);
void LogMessage(IExtension *pExt, const char *format, ...);
void LogError(IExtension *pExt, const char *format, ...);
size_t FormatString(char *buffer, size_t maxlength, IPluginContext *pContext, const cell_t *params, unsigned int param);