From ffdf227cbc50f6c2590cd90c84715ef89cd48198 Mon Sep 17 00:00:00 2001 From: codemastr Date: Wed, 8 Aug 2001 21:13:33 +0000 Subject: [PATCH] Fixed a win32 bug that caused crashes in the editor --- Changes | 1 + src/win32/Win32GUI.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 9d0db21fd..854eac8c5 100644 --- a/Changes +++ b/Changes @@ -795,3 +795,4 @@ seen. gmtime warning still there - Fixed sts on crack win32 code - Fixed a win2000 bug causing Unreal to crash on the credits dialog, thanks to llthangel and WildChild for helping fix the bug +- Fixed a win32 bug that can cause unexpected crashes while using the editor diff --git a/src/win32/Win32GUI.c b/src/win32/Win32GUI.c index 92fdadad9..f457aea34 100644 --- a/src/win32/Win32GUI.c +++ b/src/win32/Win32GUI.c @@ -1280,7 +1280,7 @@ int CountRTFSize(char *buffer) { if (*buf == '\r') { buf++; if (*buf == '\n') - size += 4; + size += 5; } if (*buf == '\2') { if (bold)