diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-04-18 17:39:35 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-04-18 17:39:35 +0200 |
commit | d2db3c24dac0505c6179b81748e6ca43d2db6799 (patch) | |
tree | ad59962f0623621bb51554ca6bd96bb96c48e797 /xchat-wdk.patch | |
parent | 3fab4f0d7dc92e70e5f0e6273d75df8c4d972a61 (diff) |
fix scrollback. thanks to a contributor.
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r-- | xchat-wdk.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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 <time.h> /* 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 <stdlib.h> #include <stdio.h> @@ -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) + { |