Commit bda48e8b authored by Enrico Ros's avatar Enrico Ros
Browse files

fix crash on Albert's test.x

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=355334
parent 6ccd705d
......@@ -250,7 +250,8 @@ KPDFLink::KPDFLink( LinkAction * a )
LinkLaunch * e = (LinkLaunch *)a;
// copy name and parameters of the file to open(in case of PDF)/launch
copyString( m_fileName, e->getFileName()->getCString() );
copyString( m_parameters, e->getParams()->getCString() );
GString * par = e->getParams();
copyString( m_parameters, par ? par->getCString() : 0 );
} break;
case actionURI:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment