Index: undo_act.c =================================================================== --- undo_act.c (revision 1350) +++ undo_act.c (revision 1351) @@ -30,6 +30,7 @@ #include "action.h" #include "change.h" #include "error.h" +#include "funchash_core.h" #include "crosshair.h" #include "undo.h" @@ -82,7 +83,7 @@ if (argc != 1) AFAIL(atomic); - switch (GetFunctionID(argv[0])) { + switch (funchash_get(argv[0], NULL)) { case F_Save: SaveUndoSerialNumber(); break; @@ -231,7 +232,7 @@ SetChangedFlag(true); } else if (function) { - switch (GetFunctionID(function)) { + switch (funchash_get(function, NULL)) { /* clear 'undo objects' list */ case F_ClearList: ClearUndoList(false);