*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* room for the dialog to grow without going off the edge of the screen. */
max_string_width_px *= 0.75;
* room for the dialog to grow without going off the edge of the screen. */
max_string_width_px *= 0.75;
pw->info_label = mlstring_new(info_msg ? info_msg : pw->body_label,
pw->label_font, max_string_width_px);
pw->info_label = mlstring_new(info_msg ? info_msg : pw->body_label,
pw->label_font, max_string_width_px);
/* Measure the info_label. */
if (pw->info_label->overall_width > pw->width)
pw->width = pw->info_label->overall_width;
/* Measure the info_label. */
if (pw->info_label->overall_width > pw->width)
pw->width = pw->info_label->overall_width;
/* Measure the user string. */
XTextExtents (pw->passwd_font,
/* Measure the user string. */
XTextExtents (pw->passwd_font,
#ifdef HAVE_XHPDISABLERESET
/* This function enables and disables the C-Sh-Reset hot-key, which
#ifdef HAVE_XHPDISABLERESET
/* This function enables and disables the C-Sh-Reset hot-key, which
}
else /* good, with no failures, */
goto END; /* or timeout, or cancel. */
}
else /* good, with no failures, */
goto END; /* or timeout, or cancel. */