Hi,
Here is a patch to fix the output of omni-form.xml. For reference,
see:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=115586
Tim.
*/
--- Omni/Foomatic/OmniFoomaticGenerator.cpp.omni-form 2004-03-02 14:02:42.000000000 +0000
+++ Omni/Foomatic/OmniFoomaticGenerator.cpp 2004-03-02 14:03:14.000000000 +0000
@@ -1639,7 +1639,7 @@
iCy = (int)(((double)pHCCDevice->getCy ()) / 25400.0 * 72.0 + 0.5);
*pofstream << " <enum_val id='" << pszFormJP << "'>" << std::endl;
- pstringLongName = pDF->getAllTranslation ();
+ pstringLongName = pDFDevice->getAllTranslation ();
if (pstringLongName)
{
*pofstream << " <ev_longname><en>" << *pstringLongName << "</en></ev_longname>" << std::endl;
@@ -1649,7 +1649,7 @@
{
std::cerr << "Error: Form getAllTranslation failed!" << std::endl;
}
- pstringCreateHash = pDF->getCreateHash ();
+ pstringCreateHash = pDFDevice->getCreateHash ();
if (pstringCreateHash)
{
*pofstream << " <ev_shortname><en>" << *pstringCreateHash << "</en></ev_shortname>" << std::endl;
|