Skip to content

Commit

Permalink
CONFIGARGS: reduce field count by one
Browse files Browse the repository at this point in the history
When adding/removing fields, this structure needs to be kept in sync
with the true number of fields in it.
  • Loading branch information
ThomasAdam committed Oct 17, 2024
1 parent 84eaad0 commit cd8723a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fvwm/module_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ action_flags *_get_allowed_actions(const FvwmWindow *fw)
as a dummy to preserve alignment of the other fields in the
old packet: we should drop this before the next release.
*/
#define CONFIGARGS(_fw) 35, \
#define CONFIGARGS(_fw) 34, \
(unsigned long)(-sizeof(Window)), \
&FW_W(*(_fw)), \
(unsigned long)(-sizeof(Window)), \
Expand Down Expand Up @@ -1039,4 +1039,4 @@ void CMD_Send_WindowList(F_CMD_ARGS)
}

SendPacket(mod, M_END_WINDOWLIST, 0);
}
}

0 comments on commit cd8723a

Please sign in to comment.