Группа :: Офис
Пакет: scrap2rtf
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: scrap2rtf-fix-stream-output.patch
Скачать
Скачать
diff --git a/scrap2rtf/src/common_func.cpp b/scrap2rtf/src/common_func.cpp
index ef1bdfd..f33c8b7 100644
--- a/scrap2rtf/src/common_func.cpp
+++ b/scrap2rtf/src/common_func.cpp
@@ -91,7 +91,7 @@ void MyCopyFile(const string szSourceFile, const string szDestFile)
ofstream fDestFile(szDestFile.c_str(), fstream::trunc|fstream::binary);
if ((! fDestFile.is_open()) && (! fDestFile.good()))
{
- cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl;
+ cerr << PROGRAM_NAME << ": " << szDestFile << ": " << _("Cannot create file") << endl;
fSourceFile.close();
exit (EXIT_FAILURE);
}