diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-09-11 22:02:40 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-09-11 22:02:40 +0200 |
commit | 59c8ad0d099c1fdefcf7676458b70ecaf98f5fc9 (patch) | |
tree | 3394970fcb31acfb18145db0e3a899945a1b7aa0 /src/sc_interp.c | |
parent | 351618c287e0567c28471c0433f5678a37182c1b (diff) |
Get rid of slide and presentation constants
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r-- | src/sc_interp.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c index 8e5868e..c5f25d1 100644 --- a/src/sc_interp.c +++ b/src/sc_interp.c @@ -559,20 +559,6 @@ static int check_outputs(SCBlock *bl, SCInterpreter *scin) options); } - } else if ( strcmp(name, "slidenumber")==0) { - if ( scin->s_constants != NULL ) { - char *tmp = malloc(64); - if ( tmp != NULL ) { - snprintf(tmp, 63, "%i", - scin->s_constants->slide_number); - split_words(sc_interp_get_frame(scin)->boxes, - scin->pc, bl, tmp, scin->lang, 0, - scin); - } - } else { - printf("No slide constants.\n"); - } - } else if ( strcmp(name, "f")==0 ) { struct frame *fr = sc_block_frame(bl); |