From 58ade5fce6ae7dbdfaf2cc12000a0b4dae94825d Mon Sep 17 00:00:00 2001 From: theraysmith Date: Thu, 30 Aug 2007 22:13:30 +0000 Subject: [PATCH] Fixed an error in setting char properties git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@120 d0cd1f9f-072b-0410-8dd7-cf729c803f20 --- training/unicharset_extractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training/unicharset_extractor.cpp b/training/unicharset_extractor.cpp index 8042c4ab..7f7cc7b5 100644 --- a/training/unicharset_extractor.cpp +++ b/training/unicharset_extractor.cpp @@ -72,7 +72,7 @@ void set_properties(UNICHARSET *unicharset, const char* const c_string) { unicharset->set_isalpha(id, 1); if (iswlower(wc)) unicharset->set_islower(id, 1); - if (iswlower(wc)) + if (iswupper(wc)) unicharset->set_isupper(id, 1); } if (iswdigit(wc)) -- GitLab