Commit 3467c932 by Michael Mifsud

Merge pull request #1220 from chriseppstein/master

The previous file should be the absolute path, not the string used to import it.
parents c1f62102 a474102d
...@@ -9,7 +9,7 @@ Sass_Import_List sass_importer(const char* cur_path, Sass_Importer_Entry cb, str ...@@ -9,7 +9,7 @@ Sass_Import_List sass_importer(const char* cur_path, Sass_Importer_Entry cb, str
{ {
void* cookie = sass_importer_get_cookie(cb); void* cookie = sass_importer_get_cookie(cb);
struct Sass_Import* previous = sass_compiler_get_last_import(comp); struct Sass_Import* previous = sass_compiler_get_last_import(comp);
const char* prev_path = sass_import_get_imp_path(previous); const char* prev_path = sass_import_get_abs_path(previous);
CustomImporterBridge& bridge = *(static_cast<CustomImporterBridge*>(cookie)); CustomImporterBridge& bridge = *(static_cast<CustomImporterBridge*>(cookie));
std::vector<void*> argv; std::vector<void*> argv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment