mirror of
https://github.com/swaywm/sway.git
synced 2026-03-09 05:34:13 -04:00
Merge branch 'master' into sensitivity
This commit is contained in:
commit
2fef636f74
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag,
|
||||||
fprintf(stderr, "Missing action for button %s\n", optarg);
|
fprintf(stderr, "Missing action for button %s\n", optarg);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
struct swaynag_button *button = calloc(sizeof(struct swaynag_button), 1);
|
struct swaynag_button *button = calloc(1, sizeof(struct swaynag_button));
|
||||||
if (!button) {
|
if (!button) {
|
||||||
perror("calloc");
|
perror("calloc");
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue