mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
Build error
This commit is contained in:
parent
d119ca433c
commit
ee412811ce
1 changed files with 7 additions and 5 deletions
12
src/action.c
12
src/action.c
|
|
@ -1061,11 +1061,13 @@ actions_run(struct view *activator, struct server *server,
|
||||||
magnify_toggle();
|
magnify_toggle();
|
||||||
break;
|
break;
|
||||||
case ACTION_TYPE_SET_MAGNIFICATION:
|
case ACTION_TYPE_SET_MAGNIFICATION:
|
||||||
const char *dir = action_get_str(action, "scale", NULL);
|
{
|
||||||
if (!strcmp(dir, "up")) {
|
const char *dir = action_get_str(action, "scale", NULL);
|
||||||
magnify_set_scale(MAGNIFY_INCREASE);
|
if (!strcmp(dir, "up")) {
|
||||||
} else if (!strcmp(dir, "down")) {
|
magnify_set_scale(MAGNIFY_INCREASE);
|
||||||
magnify_set_scale(MAGNIFY_DECREASE);
|
} else if (!strcmp(dir, "down")) {
|
||||||
|
magnify_set_scale(MAGNIFY_DECREASE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ACTION_TYPE_INVALID:
|
case ACTION_TYPE_INVALID:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue