this should be more correct
This commit is contained in:
parent
d3751c0bf9
commit
e2aecbf9d4
1 changed files with 1 additions and 1 deletions
|
|
@ -799,7 +799,7 @@ void MwGetScreenSize(MwWidget handle, MwRect* rect) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int MwGetCoordinateType(MwWidget handle) {
|
int MwGetCoordinateType(MwWidget handle) {
|
||||||
if(handle->parent == NULL) {
|
if(handle->parent == NULL || handle->parent->lowlevel == NULL) {
|
||||||
return handle->lowlevel->common.coordinate_type;
|
return handle->lowlevel->common.coordinate_type;
|
||||||
} else {
|
} else {
|
||||||
return MwCoordinatesLocal;
|
return MwCoordinatesLocal;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue