From 13db58ebeb7e869a0f60d1b18fd571084f77ee7b Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Mon, 18 May 2009 20:13:52 +0000 Subject: [PATCH] *Little compile fix. --- source/GB2Unicode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/GB2Unicode.c b/source/GB2Unicode.c index af2ac89a..82a51b0d 100644 --- a/source/GB2Unicode.c +++ b/source/GB2Unicode.c @@ -1,7 +1,7 @@ //GB2Unicode.c -#include "Gb2Unicode.h" +#include "GB2Unicode.h" @@ -988,10 +988,10 @@ int ConverGB2Unicode(char *szFrom,wchar_t *wszTo) if (j>=0xB0A1 && j<=0xF7FE) wszTo[k]=bGbUnicodedat2[(szFrom[i]-0xB0)*94+ (unsigned char)szFrom[i+1]-0xA1]; i++; - k++; + k++; } } - wszTo[k]=0; - return k; + wszTo[k]=0; + return k; }