1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 19:53:13 +02:00

Fixed a win2000 bug causing a crash

This commit is contained in:
codemastr
2001-08-08 19:31:58 +00:00
parent 5b6c60798e
commit 145cc3f7d3
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -793,3 +793,5 @@ seen. gmtime warning still there
- /who fixes regarding +I +H and crap
- Preparation for beta2
- 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
+2 -2
View File
@@ -1268,11 +1268,11 @@ LRESULT CALLBACK ColorDLG(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
/* find how big a buffer expansion we need for RTF transformation */
int CountRTFSize(char *buffer) {
int size;
int size = 0;
short bold = 0, uline = 0, reverse = 0;
char *buf = buffer;
for (; *buf; buf++) {
for (; *buf; buf++, size++) {
if (*buf == '{' || *buf == '}' || *buf == '\\') {
size++;
continue;