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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user