* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
_label = XmStringCreateLocalized(strrchr(name, '/')+1);
_key = theRoamApp.session()->session()->newObjectKey();
+
+ myIcon = NULL;
+ _background = 0;
+ _foreground = 0;
+ _attachmentWidth = 0;
+ _attachmentHeight = 0;
+ _positionX = 0;
+ _positionY = 0;
+ _deleted = false;
+ _selected = false;
+ _row = 0;
+ _saveAsFilename = NULL;
+ _ce_name = NULL;
+ _ce_type = NULL;
+ _type = 0;
+ _binary = false;
+ _executable = false;
+
}
Attachment::~Attachment(
size = strlen(from_hdr) + int(_myContentsSize) + 3;
buffer = new char[size];
- // Look for the first occurance of a colon or a newline.
+ // Look for the first occurrence of a colon or a newline.
char *sptr;
for (sptr = (char*) _myContents;
*sptr && *sptr != '\n' && *sptr != ':';