Skip to content

Commit 461ad92

Browse files
committed
Open thcrap_log.txt in text mode.
Well, notepad.exe *is* the default text editor on Windows. Thanks to brliron for the tip.
1 parent a8f4629 commit 461ad92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: thcrap/src/log.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static void OpenConsole(void)
126126

127127
void log_init(int console)
128128
{
129-
log_file = fopen(LOG, "wb");
129+
log_file = fopen(LOG, "wt");
130130
#ifdef _DEBUG
131131
OpenConsole();
132132
#else

0 commit comments

Comments
 (0)