Group :: Sistema/Internacionalização
RPM: stardict
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: stardict-3.0.5-alt-tabfile.patch
Download
Download
--- stardict/tools/src/tabfile.cpp
+++ stardict/tools/src/tabfile.cpp
@@ -24,11 +24,13 @@ int main(int argc,char * argv [])
{
if (argc<2) {
printf("please type this:\n./tabfile Chinese-idiom-quick.pdb.tab.utf8\n");
- return FALSE;
+ return 1;
}
setlocale(LC_ALL, "");
+ int res = 0;
for (int i=1; i< argc; i++)
- convert_tabfile (argv[i]);
- return FALSE;
+ if (!convert_tabfile (argv[i]))
+ res = 1;
+ return res;
}