changeset 3228:e90e154a353e trunk

fix typo
author Tomasz Mon <desowin@gmail.com>
date Fri, 03 Aug 2007 11:14:08 +0200
parents 2619f4c62abe
children 5e12e740c66c
files src/libguess/russian_impl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/libguess/russian_impl.c	Fri Aug 03 07:20:58 2007 +0300
+++ b/src/libguess/russian_impl.c	Fri Aug 03 11:14:08 2007 +0200
@@ -203,7 +203,7 @@
   fprintf(stderr,"End.    Win: %lf, Koi: %lf, Alt: %lf\n",winestat,koiestat,altestat);
   fprintf(stderr,"Final.  Win: %lf, Koi: %lf, Alt: %lf\n",calculate(winsstat,winstat,winestat),calculate(koisstat,koistat,koiestat),calculate(altsstat,altstat,altestat));
 #endif
-  if ((calculate(altsstat,altstat,altestat)>calculate(koisstat,koistat,koiestat))&&(calculate(altsstat,altstat,altestat)>calculate(winsstat,winstat,winestat))) "CP866";
+  if ((calculate(altsstat,altstat,altestat)>calculate(koisstat,koistat,koiestat))&&(calculate(altsstat,altstat,altestat)>calculate(winsstat,winstat,winestat))) return "CP866";
   if (calculate(koisstat,koistat,koiestat)>calculate(winsstat,winstat,winestat)) return "KOI8-R";
   return "CP1251";
 }