From: Laszlo T. <ave...@us...> - 2012-03-24 15:54:18
|
gemrb: Infinity Engine emulator The branch master has been updated via d66f8cdfd18944a275703d74e1cbc8ad462bc0f8 (commit) Summary of changes: NEWS | 1 + gemrb/core/System/DataStream.cpp | 4 ++++ 2 files changed, 5 insertions(+), 0 deletions(-) from 59788f9fb3d13b8c30530b5fe59f6d2870a485ee (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=d66f8cdfd18944a275703d74e1cbc8ad462bc0f8 commit d66f8cdfd18944a275703d74e1cbc8ad462bc0f8 Author: Avenger <ave...@so...> Date: Sat Mar 24 16:53:47 2012 +0100 added TODO diff --git a/NEWS b/NEWS index 70150da..b7d3c41 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ GemRB git (bd5b8cc1f6): - config loading, logging - (iwd2) effects, combat, action bar - cocoa wrapper and mac build, cursor handling, touch input + - infravision - bugfixes Applied patches: diff --git a/gemrb/core/System/DataStream.cpp b/gemrb/core/System/DataStream.cpp index 141f1d2..d3a2b2f 100644 --- a/gemrb/core/System/DataStream.cpp +++ b/gemrb/core/System/DataStream.cpp @@ -200,6 +200,10 @@ int DataStream::ReadLine(void* buf, unsigned int maxlen) return -1; } unsigned int i = 0; + //TODO: fix this to handle any combination of \r and \n + //Windows: \r\n + //Old Mac: \r + //otherOS: \n while (i < ( maxlen - 1 )) { char ch; Read(&ch, 1); ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |