diff options
author | Peng Wu <alexepico@gmail.com> | 2014-03-13 09:44:36 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-03-13 09:44:36 +0800 |
commit | 2b6fde2addb455fd8b2e1376ced543d777bb78db (patch) | |
tree | be5da383d51323a8c0e9bc595c7e9f81d55b6b38 /src/storage/phrase_large_table2.cpp | |
parent | 8eddccb8b3107bb1fd6557112991b1a0b8306420 (diff) | |
download | libzhuyin-2b6fde2addb455fd8b2e1376ced543d777bb78db.tar.gz libzhuyin-2b6fde2addb455fd8b2e1376ced543d777bb78db.tar.xz libzhuyin-2b6fde2addb455fd8b2e1376ced543d777bb78db.zip |
fixes fscanf
Diffstat (limited to 'src/storage/phrase_large_table2.cpp')
-rw-r--r-- | src/storage/phrase_large_table2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_large_table2.cpp b/src/storage/phrase_large_table2.cpp index a952afe..8c2a923 100644 --- a/src/storage/phrase_large_table2.cpp +++ b/src/storage/phrase_large_table2.cpp @@ -473,7 +473,7 @@ bool PhraseLargeTable2::load_text(FILE * infile){ size_t freq; while (!feof(infile)) { - int num = fscanf(infile, "%s %s %u %ld", + int num = fscanf(infile, "%256s %256s %u %ld", pinyin, phrase, &token, &freq); if (4 != num) |