diff options
author | Andrés <andmarti@gmail.com> | 2021-03-23 12:18:00 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-03-23 12:18:00 -0300 |
commit | a2c39ce2f6015e07f104e820656542d182771010 (patch) | |
tree | e270f97bbe36cc01468836206e7683a070437138 /src/gram.y | |
parent | 7428fe51fca51e2782ed2f03131fe0128803a2d8 (diff) |
fix building when not setting macro UNDO
Diffstat (limited to 'src/gram.y')
-rwxr-xr-x | src/gram.y | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -768,17 +768,20 @@ command: | S_PRINT_GRAPH { print_vertexs(); } | S_SYNCREFS { sync_refs(); } | S_UNDO { +#ifdef UNDO do_undo(); // sync_refs(); EvalAll(); ui_update(TRUE); +#endif } - | S_REDO { +#ifdef UNDO do_redo(); // sync_refs(); EvalAll(); ui_update(TRUE); +#endif } // For scripting and piping |