From ed47c4e229a954f303dea4b277efb19f08c69866 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 28 Nov 2004 09:32:17 +0000 Subject: [PATCH] Stability fixes (thanks valgrind). git-svn-id: svn://svn.tartarus.org/sgt/putty@4916 cda61777-01e9-0310-a592-d414129be87e --- minibidi.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/minibidi.c b/minibidi.c index 9943ae39..717dd57b 100644 --- a/minibidi.c +++ b/minibidi.c @@ -1,5 +1,5 @@ /************************************************************************ - * $Id: minibidi.c,v 1.1 2004/05/22 10:36:50 simon Exp $ + * $Id$ * * ------------ * Description: @@ -14,9 +14,9 @@ * ----------------- * Revision Details: (Updated by Revision Control System) * ----------------- - * $Date: 2004/05/22 10:36:50 $ - * $Author: simon $ - * $Revision: 1.1 $ + * $Date$ + * $Author$ + * $Revision$ * $Source: /u1/simon/svn-migration/cvs/putty/minibidi.c,v $ * * (www.arabeyes.org - under MIT license) @@ -55,7 +55,7 @@ void flipThisRun(bidi_char *from, unsigned char *level, int max, int count) tlevel = max; i = j = findIndexOfRun(level, i, count, max); /* find the end of the run */ - while(tlevel <= level[i] && i=i ; j--) { -- 2.11.0