mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-10 13:29:56 +00:00
De-space, convert to tabs
This commit is contained in:
parent
81c649d621
commit
a70bd70665
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user