Skip to content

Commit

Permalink
Merge pull request sass#92 from sass/feat/remove-image-path
Browse files Browse the repository at this point in the history
Remove the image-path option
  • Loading branch information
xzyfer committed Feb 16, 2015
2 parents 2033333 + af8f344 commit 17d4935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion sassc.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ int main(int argc, char** argv) {
bool generate_source_map = false;
struct Sass_Options* options = sass_make_options();
sass_option_set_output_style(options, SASS_STYLE_NESTED);
sass_option_set_image_path(options, "images");
char *include_paths = NULL;
sass_option_set_precision(options, 5);

Expand Down
7 changes: 3 additions & 4 deletions sassloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "libsass/sass_interface.h"

int main(int argc, char** argv)
{
{
if (argc < 3) {
printf("Usage: sassloop [INPUT FILE] [ITERATIONS]\n");
return 0;
Expand All @@ -15,7 +15,6 @@ int main(int argc, char** argv)
struct sass_file_context* ctx = sass_new_file_context();
printf("*** ALLOCATED A NEW CONTEXT\n");
ctx->options.include_paths = "";
ctx->options.image_path = "images";
ctx->options.output_style = SASS_STYLE_NESTED;
ctx->input_path = argv[1];
printf("*** POPULATED THE CONTEXT\n");
Expand All @@ -31,10 +30,10 @@ int main(int argc, char** argv)
else {
printf("Unknown internal error.\n");
}

sass_free_file_context(ctx);
printf("*** DEALLOCATED THE CONTEXT\n");
sleep(1);
}
return 0;
}
}

0 comments on commit 17d4935

Please sign in to comment.