From 59c8ad0d099c1fdefcf7676458b70ecaf98f5fc9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 11 Sep 2014 22:02:40 +0200 Subject: Get rid of slide and presentation constants --- src/sc_interp.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/sc_interp.c') 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); -- cgit v1.2.3