summaryrefslogtreecommitdiff
path: root/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/handle.c b/handle.c
index 4cd7554..1cb2a43 100644
--- a/handle.c
+++ b/handle.c
@@ -906,10 +906,9 @@ do_pointer(char *line, int len)
}
if (i > 0 && i != nbuttons) {
- badheader ();
- fprintf (stderr, "number of buttons, must have %d instead of %d\n",
- nbuttons, i);
- return;
+ fprintf (stderr, "Warning: Only changing the first %d of %d buttons.\n",
+ i, nbuttons);
+ i = nbuttons;
}
uop = AllocStruct (union op);