diff options
Diffstat (limited to 'chrome/tools/convert_dict/dic_reader.cc')
-rw-r--r-- | chrome/tools/convert_dict/dic_reader.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/tools/convert_dict/dic_reader.cc b/chrome/tools/convert_dict/dic_reader.cc index c8ee113..0475eff 100644 --- a/chrome/tools/convert_dict/dic_reader.cc +++ b/chrome/tools/convert_dict/dic_reader.cc @@ -132,8 +132,13 @@ DicReader::DicReader(const FilePath& path) { file_ = file_util::OpenFile(path, "r"); FilePath additional_path = - path.InsertBeforeExtension(FILE_PATH_LITERAL("_delta")); + path.ReplaceExtension(FILE_PATH_LITERAL("dic_delta")); additional_words_file_ = file_util::OpenFile(additional_path, "r"); + + if (additional_words_file_) + printf("Reading %" PRFilePath " ...\n", additional_path.value().c_str()); + else + printf("%" PRFilePath " not found.\n", additional_path.value().c_str()); } DicReader::~DicReader() { |