fix iSize operator= bug.

git-svn-id: svn://qnap.local/TwoTerm/trunk@1891 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
Kelvin Sherlock 2010-12-23 03:41:52 +00:00
parent 6bd75980fa
commit 436c81bdf1

View File

@ -20,7 +20,7 @@ typedef struct iSize {
#ifdef __cplusplus
iSize() : width(0), height(0) {}
iSize(const iSize &aSize) : width(aSize.width), height(aSize.width) {}
iSize(const iSize &aSize) : width(aSize.width), height(aSize.height) {}
iSize(int w, int h) : width(w), height(h) {}