Minor documentation update

This commit is contained in:
Bastian M. Wojek
2011-08-28 10:00:40 +00:00
parent d201408728
commit a3bfa4e70b
2 changed files with 23 additions and 11 deletions

View File

@ -1648,7 +1648,7 @@ vector<unsigned int>* PNeXus::GetGroupedHisto(unsigned int idx)
* <p>Read the NeXus file 'fileName'.
*
* <b>return:</b>
* - NX_OK on successfull reading
* - NX_OK on successful reading
* - NX_ERROR on error. The error code/message will give the details.
*
* \param fileName file name of the nexus file to be read
@ -2555,7 +2555,7 @@ int PNeXus::ReadFileIdf1()
attlen = VGNAMELENMAX - 1;
atttype = NX_CHAR;
status = NXgetattr(fFileHandle, "units", data_value, &attlen, &atttype);
status = NXgetattr(fFileHandle, const_cast<char*>("units"), data_value, &attlen, &atttype);
if (status == NX_OK) {
for (i = 0; i < attlen; i++)
cstr[i] = *(data_value + i);