Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b1a8c35c83345e91bab43c287986dcb0 > files > 32

tesseract-3.02.02-3.mga3.src.rpm

--- dict/permdawg.cpp~	2012-10-30 10:45:16.908433801 +0000
+++ dict/permdawg.cpp	2012-10-30 10:45:16.922433761 +0000
@@ -205,7 +205,7 @@
           STRING word_str;
           word->string_and_lengths(&word_str, NULL);
           word_str += " ";
-          fprintf(output_ambig_words_file_, word_str.string());
+          fprintf(output_ambig_words_file_, "%s", word_str.string());
         }
         WERD_CHOICE *adjusted_word = word;
         WERD_CHOICE hyphen_tail_word(&getUnicharset());