fixed some warnings and compilation under mingw :

- replaced _MSC_VER by _WIN32 define
- removed search.h include (not available here and tsearch() doesn't seem to be used anyway)
This commit is contained in:
Gregory Montoir 2005-04-08 22:29:06 +00:00
parent 94b05cfdaa
commit 8b313e5121
9 changed files with 13 additions and 16 deletions

View file

@ -30,7 +30,7 @@ TextObjectDefaults textObjectDefaults;
TextObject::TextObject() :
_created(false), _x(0), _y(0), _width(0), _height(0), _justify(0),
_font(NULL), _textBitmap(NULL), _bitmapWidth(0),
_bitmapHeight(0), _textObjectHandle(NULL), _disabled(0) {
_bitmapHeight(0), _disabled(false), _textObjectHandle(NULL) {
memset(_textID, 0, sizeof(_textID));
_fgColor._vals[0] = 0;
_fgColor._vals[1] = 0;