Change-Id: Id97c4834fd59a3c9821a4f0fb7f788c3b72dee98
{
// name
pstAllVariableNames[i] = getGlobalNamefromId(j);
- // Bytes used
- piAllVariableBytes[i] = getGlobalSizefromId(j);
+ // Bytes used - 8 is the number of bytes in a word
+ piAllVariableBytes[i] = getGlobalSizefromId(j) * 8;
// type
// Calling "API Scilab": not yet implemented for global variable
//getNamedVarType(pvApiCtx, pstAllVariableNames[i], &piAllVariableTypes[i]);
/* Use the getModel() method because the
* column 5 has been removed from display
* but still exist in the model */
- tip = Messages.gettext("Words:") + " " + model.getValueAt(rowIndex, BrowseVar.BYTES_COLUMN_INDEX).toString();
+ tip = Messages.gettext("Bytes:") + " " + model.getValueAt(rowIndex, BrowseVar.BYTES_COLUMN_INDEX).toString();
}
}
}