From d2db3c24dac0505c6179b81748e6ca43d2db6799 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sun, 18 Apr 2010 17:39:35 +0200 Subject: [PATCH] fix scrollback. thanks to a contributor. --- config.h | 2 +- xchat-wdk.patch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 127b7e6d..eeae2b5e 100644 --- a/config.h +++ b/config.h @@ -3,7 +3,7 @@ #define USE_GMODULE #define USE_PLUGIN #define PACKAGE_NAME "xchat" -#define PACKAGE_VERSION "r1409-8" +#define PACKAGE_VERSION "r1409-9" #define XCHATLIBDIR "." #define XCHATSHAREDIR "." #define OLD_PERL diff --git a/xchat-wdk.patch b/xchat-wdk.patch index 39698ad2..e3cf7629 100644 --- a/xchat-wdk.patch +++ b/xchat-wdk.patch @@ -325,7 +325,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/ssl.c xchat-wdk/src/comm #include /* asctime() */ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/text.c xchat-wdk/src/common/text.c --- xchat-wdk.orig/src/common/text.c 2009-12-31 03:19:50 +0100 -+++ xchat-wdk/src/common/text.c 2010-03-29 15:02:51 +0200 ++++ xchat-wdk/src/common/text.c 2010-04-18 17:37:08 +0200 @@ -19,13 +19,11 @@ #include #include @@ -371,7 +371,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/text.c xchat-wdk/src/com + } + + /* Select which portions of the file we need (entire file) */ -+ map = (char *)MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, 0, 0); ++ map = (char *)MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); + + if (map == NULL) + {