[Glide64] Cleanup GlideHQ/TxDbg.cpp
This commit is contained in:
parent
0ebcf6d608
commit
b2541f40bd
Source/GlideHQ
|
@ -32,14 +32,14 @@
|
|||
TxDbg::TxDbg()
|
||||
{
|
||||
_level = DBG_LEVEL;
|
||||
CPath Dir(CPath::MODULE_DIRECTORY,"");
|
||||
CPath Dir(CPath::MODULE_DIRECTORY, "");
|
||||
Dir.AppendDirectory("Logs");
|
||||
|
||||
if (!_dbgfile)
|
||||
#ifdef GHQCHK
|
||||
_dbgfile = fopen(CPath(Dir,"ghqchk.txt"), "w");
|
||||
#else
|
||||
_dbgfile = fopen(CPath((LPCSTR)Dir,"glidehq.dbg"), "w");
|
||||
_dbgfile = fopen(CPath((LPCSTR)Dir, "glidehq.dbg"), "w");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ TxDbg::output(const int level, const wchar_t *format, ...)
|
|||
if (level > _level)
|
||||
return;
|
||||
|
||||
stdstr_f newformat("%d:\t%s",level,stdstr().FromUTF16(format).c_str());
|
||||
stdstr_f newformat("%d:\t%s", level, stdstr().FromUTF16(format).c_str());
|
||||
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
|
|
Loading…
Reference in New Issue