forked from pyrite-dev/milsko
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) {
|
||||
if(handle->parent == NULL) {
|
||||
if(handle->parent == NULL || handle->parent->lowlevel == NULL) {
|
||||
return handle->lowlevel->common.coordinate_type;
|
||||
} else {
|
||||
return MwCoordinatesLocal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue