# HG changeset patch # User Tomasz Mon # Date 1186132448 -7200 # Node ID e90e154a353e1fd9a2d49eb28f5f1be8966ff4e7 # Parent 2619f4c62abe17396db0af08c66ae88e8d6057d4 fix typo diff -r 2619f4c62abe -r e90e154a353e src/libguess/russian_impl.c --- 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"; }