Simple change that sorts the buttons by name...

in ButtonArray.c AddButton(), i added a string compare to the for loop.

    for (temp = array->head; temp->next; temp = temp->next)
         if (strcmp(temp->next->title, title) > 0) break;
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to