1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-30 23:06:39 +02:00

Win32 changes

This commit is contained in:
codemastr
2001-04-21 17:06:07 +00:00
parent a4220227ba
commit 5423bf8a94
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -435,3 +435,5 @@
- Changed some non-error messages in newconf from config_status to config_progress
- Added a way for newconf to report its errors in windows using a "Config Error" dialog
- Fixed the /stats Z bug reported by RaYmAn
- Added missing resource.h defineand missing +1 in MyMalloc of win_log reported by McSkaf
Seemed to work without the +1 but added it just to be safe.
+2 -2
View File
@@ -842,12 +842,12 @@ void win_log(char *format, ...) {
ircvsprintf(buf, format, ap);
strcat(buf, "\r\n");
if (errors) {
buf2 = MyMalloc(strlen(errors)+strlen(buf));
buf2 = MyMalloc(strlen(errors)+strlen(buf)+1);
sprintf(buf2, "%s%s",errors,buf);
MyFree(errors);
}
else {
buf2 = MyMalloc(strlen(buf));
buf2 = MyMalloc(strlen(buf)+1);
sprintf(buf2, "%s",buf);
}
errors = buf2;
+1
View File
@@ -25,6 +25,7 @@
#define IDC_LSERVERS 1123
#define IDC_LMAXCLIENTS 1124
#define IDC_UPTIME 1125
#define IDC_CONFIGERROR 1126
#define IDM_CREDITS 40027
#define IDM_DAL 40028
#define IDM_LICENSE 40029