mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Editor.cxx
void Fl_Text_Editor::remove_key_binding(int key, int state, Key_Binding** list) {
  Key_Binding *cur, *last = 0;
  for (cur = *list; cur; last = cur, cur = cur->next)
    if (cur->key == key && cur->state == state) break;
  if (!cur) return;
  if (last) last->next = cur->next;
  else *list = cur->next;
  delete cur;
}
/** Removes the key binding associated with the key "key" of state "state" */
Removes the key binding associated with the key "key" of state "state"
Removes the key binding associated with the key " key " of state " state "
void Fl_Text_Editor::remove_key_binding(int key, int state, Key_Binding** list) {
  Key_Binding *cur, *last = 0;
  for (cur = *list; cur; last = cur, cur = cur->next)
    if (cur->key == key && cur->state == state) break;
  if (!cur) return;
  if (last) last->next = cur->next;
  else *list = cur->next;
  delete cur;
}
void Fl_Text_Editor :: remove_key_binding ( int key , int state , Key_Binding * * list ) { Key_Binding * cur , * last = 0 ; for ( cur = * list ; cur ; last = cur , cur = cur -> next ) if ( cur -> key == key && cur -> state == state ) break ; if ( ! cur ) return ; if ( last ) last -> next = cur -> next ; else * list = cur -> next ; delete cur ; }
Removes the key binding associated with the key "key" of state "state"
Removes the key binding associated with the key " key " of state " state "