De-space, convert to tabs

This commit is contained in:
michaelangel007 2015-07-30 09:21:31 -07:00
parent 81c649d621
commit a70bd70665

View File

@ -33,13 +33,13 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
void LogOutput(LPCTSTR format, ...) void LogOutput(LPCTSTR format, ...)
{ {
TCHAR output[256]; TCHAR output[256];
va_list args; va_list args;
va_start(args, format); va_start(args, format);
_vsntprintf(output, sizeof(output) - 1, format, args); _vsntprintf(output, sizeof(output) - 1, format, args);
OutputDebugString(output); OutputDebugString(output);
} }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
@ -51,11 +51,11 @@ void LogFileOutput(LPCTSTR format, ...)
if (!g_fh) if (!g_fh)
return; return;
TCHAR output[256]; TCHAR output[256];
va_list args; va_list args;
va_start(args, format); va_start(args, format);
_vsntprintf(output, sizeof(output) - 1, format, args); _vsntprintf(output, sizeof(output) - 1, format, args);
fprintf(g_fh, "%s", output); fprintf(g_fh, "%s", output);
} }