mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-07 09:59:45 +00:00
fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@790 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -228,7 +228,6 @@ static void mouse_down(MwWidget handle, void* ptr) {
|
|||||||
static void prop_change(MwWidget handle, const char* key) {
|
static void prop_change(MwWidget handle, const char* key) {
|
||||||
if(strcmp(key, MwNminValue) == 0 || strcmp(key, MwNvalue) == 0 || strcmp(key, MwNmaxValue) == 0) {
|
if(strcmp(key, MwNminValue) == 0 || strcmp(key, MwNvalue) == 0 || strcmp(key, MwNmaxValue) == 0) {
|
||||||
if(MwGetInteger(handle, MwNvalue) > MwGetInteger(handle, MwNmaxValue)) MwSetInteger(handle, MwNvalue, MwGetInteger(handle, MwNmaxValue));
|
if(MwGetInteger(handle, MwNvalue) > MwGetInteger(handle, MwNmaxValue)) MwSetInteger(handle, MwNvalue, MwGetInteger(handle, MwNmaxValue));
|
||||||
if(handle->prop_event) MwDispatchUserHandler(handle, MwNchangedHandler, NULL);
|
|
||||||
MwForceRender(handle);
|
MwForceRender(handle);
|
||||||
}
|
}
|
||||||
if(strcmp(key, MwNshowArrows) == 0 || strcmp(key, MwNareaShown) == 0){
|
if(strcmp(key, MwNshowArrows) == 0 || strcmp(key, MwNareaShown) == 0){
|
||||||
|
|||||||
Reference in New Issue
Block a user