From 25d2bb355b21e8221472928ee7f9468369c54894 Mon Sep 17 00:00:00 2001 From: Marcel Greter Date: Wed, 31 Dec 2014 16:36:33 +0100 Subject: [PATCH] Fix issue with input path being overwritten --- sassc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sassc.c b/sassc.c index 55a29f1..3c95e15 100644 --- a/sassc.c +++ b/sassc.c @@ -100,6 +100,7 @@ int compile_file(struct Sass_Options* options, char* input_path, char* outfile) struct Sass_File_Context* ctx = sass_make_file_context(input_path); struct Sass_Context* ctx_out = sass_file_context_get_context(ctx); if (outfile) sass_option_set_output_path(options, outfile); + sass_option_set_input_path(options, input_path); sass_file_context_set_options(ctx, options); sass_compile_file_context(ctx);