projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20091028-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
ErrorReporting.c
diff --git
a/src/game_sp/ErrorReporting.c
b/src/game_sp/ErrorReporting.c
index 8cd7457d5de95fd298037631a61351dc02008a98..b795d57e2175e596762d100e44843f3ac6433483 100644
(file)
--- a/
src/game_sp/ErrorReporting.c
+++ b/
src/game_sp/ErrorReporting.c
@@
-7,7
+7,8
@@
static char * GetErrLogPath();
static char * GetTraceLogPath();
static char * GetErrLogPath();
static char * GetTraceLogPath();
-static char *VB_Name = "modErrorReporting";
+// static char *VB_Name = "modErrorReporting";
+
// --- Option Explicit
static char *GetErrLogPath()
// --- Option Explicit
static char *GetErrLogPath()
@@
-48,7
+49,7
@@
void Trace(char *Source, char *Message)
void ReportError(char *Source, char *Message)
{
char *Path;
void ReportError(char *Source, char *Message)
{
char *Path;
-
int
FNum;
+
FILE *
FNum;
boolean bIsOpen;
Path = GetErrLogPath();
boolean bIsOpen;
Path = GetErrLogPath();
@@
-62,7
+63,7
@@
void ReportError(char *Source, char *Message)
// --- On Error GoTo 0
// --- On Error GoTo 0
-ReportErrorEH:
+
//
ReportErrorEH:
if (bIsOpen)
fclose(FNum);
}
if (bIsOpen)
fclose(FNum);
}