diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-10-18 08:54:14 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-10-18 08:54:14 +0200 |
commit | afad5f6ac5ba0e4b92158c35f23f41688f92b048 (patch) | |
tree | 390f055ea41b3f982476881871349617f6fed178 /src/sc_interp.c | |
parent | fc8081e6b052e2901aa56676c5cab61eaa5996e2 (diff) |
Set slide size from stylesheet
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r-- | src/sc_interp.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c index d7f7b6b..0b39d00 100644 --- a/src/sc_interp.c +++ b/src/sc_interp.c @@ -679,34 +679,6 @@ void sc_interp_destroy(SCInterpreter *scin) } -static int parse_double(const char *a, float v[2]) -{ - int nn; - - nn = sscanf(a, "%fx%f", &v[0], &v[1]); - if ( nn != 2 ) { - fprintf(stderr, _("Invalid size '%s'\n"), a); - return 1; - } - - return 0; -} - - -static int parse_tuple(const char *a, float v[4]) -{ - int nn; - - nn = sscanf(a, "%f,%f,%f,%f", &v[0], &v[1], &v[2], &v[3]); - if ( nn != 4 ) { - fprintf(stderr, _("Invalid tuple '%s'\n"), a); - return 1; - } - - return 0; -} - - static void set_padding(struct frame *fr, const char *opts) { float p[4]; |