sync
This commit is contained in:
parent
50c8bafd9f
commit
ac06c97e30
820 changed files with 467502 additions and 386453 deletions
|
@ -63,7 +63,7 @@ static struct _QueryResources {
|
|||
|
||||
#define offset(field) XtOffsetOf(struct _QueryResources, field)
|
||||
static XtResource resources[] = {
|
||||
{ "file", "File", XtRString, sizeof (char *),
|
||||
{ "file", "File", XtRString, sizeof (char *),
|
||||
offset(file), XtRString, (XtPointer) NULL },
|
||||
{ "buttons", "Buttons", XtRString, sizeof (char *),
|
||||
offset(button_list), XtRString, (XtPointer) "okay:0" },
|
||||
|
@ -104,7 +104,7 @@ static String fallback_resources[] = {
|
|||
* usage
|
||||
*/
|
||||
|
||||
static void
|
||||
static void
|
||||
usage (FILE *outf)
|
||||
{
|
||||
static const char *options[] = {
|
||||
|
@ -140,7 +140,7 @@ exit_action(Widget w, XEvent *event, String *params, Cardinal *num_params)
|
|||
if(event->type == ClientMessage
|
||||
&& event->xclient.data.l[0] != wm_delete_window)
|
||||
return;
|
||||
|
||||
|
||||
if (*num_params == 1)
|
||||
exit_status = atoi(params[0]);
|
||||
exit(exit_status);
|
||||
|
@ -150,7 +150,7 @@ int default_exitstatus = -1; /* value of button named by -default */
|
|||
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
default_exit_action(Widget w, XEvent *event, String *params,
|
||||
default_exit_action(Widget w, XEvent *event, String *params,
|
||||
Cardinal *num_params)
|
||||
{
|
||||
if (default_exitstatus >= 0)
|
||||
|
@ -164,7 +164,7 @@ detab (char **messagep, int *lengthp)
|
|||
{
|
||||
int i, n, col, psize;
|
||||
char *p;
|
||||
|
||||
|
||||
/* count how many tabs there are */
|
||||
n = 0;
|
||||
for (i = 0; i < *lengthp; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue