diff options
author | Thomas White <taw@bitwiz.org.uk> | 2017-02-04 22:36:03 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2017-02-04 22:36:03 +0100 |
commit | 1431aced5f9615be656519bb438c6bc96d2c2442 (patch) | |
tree | 32a5f731f9ea3240c95daec5f314fe4ce06f3dcd /src/sc_interp.c | |
parent | 3a7edbe2fba3d31fe1d11499536d2149771c9b14 (diff) |
Change stylesheet
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r-- | src/sc_interp.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c index 92bf10f..852f8ac 100644 --- a/src/sc_interp.c +++ b/src/sc_interp.c @@ -1317,32 +1317,6 @@ void sc_interp_run_stylesheet(SCInterpreter *scin, SCBlock *bl) } -void find_stylesheet(struct presentation *p) -{ - SCBlock *bl = p->scblocks; - - if ( p->stylesheet != NULL ) { - fprintf(stderr, "Duplicate style sheet!\n"); - return; - } - - while ( bl != NULL ) { - - const char *name = sc_block_name(bl); - - if ( (name != NULL) && (strcmp(name, "stylesheet") == 0) ) { - p->stylesheet = bl; - return; - } - - bl = sc_block_next(bl); - - } - - fprintf(stderr, "No style sheet.\n"); -} - - struct template_id *sc_interp_get_templates(SCInterpreter *scin, int *np) { struct template_id *list; |